1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

cleanup: trg2bit() helper

This commit is contained in:
Sergei Golubchik
2019-01-05 11:49:35 +01:00
parent 0e1f7f5c4a
commit e99e6f29e9
4 changed files with 16 additions and 25 deletions

View File

@ -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 */
/*