mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Bug#45288: pb2 returns a lot of compilation warnings on linux
Fix compiler warnings due to: a mismatch in the prototypes for check_access and implicit conversions from double to ulonglong and vice-versa.
This commit is contained in:
@ -183,9 +183,8 @@ inline bool check_merge_table_access(THD *thd, char *db, TABLE_LIST *table_list)
|
||||
inline bool check_some_routine_access(THD *thd, const char *db,
|
||||
const char *name, bool is_proc)
|
||||
{ return false; }
|
||||
inline bool check_access(THD *thd, ulong access, const char *db,
|
||||
ulong *save_priv, bool no_grant, bool no_errors,
|
||||
bool schema_db)
|
||||
inline bool check_access(THD *, ulong, const char *, ulong *save_priv,
|
||||
GRANT_INTERNAL_INFO *, bool, bool)
|
||||
{
|
||||
if (save_priv)
|
||||
*save_priv= GLOBAL_ACLS;
|
||||
|
Reference in New Issue
Block a user