mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
extend check_global_access() to avoid my_error when it's not needed
(in INFORMATION_SCHEMA).
This commit is contained in:
@ -196,7 +196,7 @@ check_table_access(THD *thd, ulong requirements,TABLE_LIST *tables,
|
||||
|
||||
/* These were under the INNODB_COMPATIBILITY_HOOKS */
|
||||
|
||||
bool check_global_access(THD *thd, ulong want_access);
|
||||
bool check_global_access(THD *thd, ulong want_access, bool no_errors= false);
|
||||
|
||||
inline bool is_supported_parser_charset(CHARSET_INFO *cs)
|
||||
{
|
||||
|
Reference in New Issue
Block a user