diff options
Diffstat (limited to 'sql/sql_trigger.h')
-rw-r--r-- | sql/sql_trigger.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_trigger.h b/sql/sql_trigger.h index 0fddb94fde1..9cd6c61891a 100644 --- a/sql/sql_trigger.h +++ b/sql/sql_trigger.h @@ -38,6 +38,9 @@ enum trg_event_type TRG_EVENT_MAX }; +static inline uint8 trg2bit(enum trg_event_type trg) +{ return static_cast<uint8>(1 << static_cast<int>(trg)); } + #include "table.h" /* GRANT_INFO */ /* |