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:
@ -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 */
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user