diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-03-19 15:25:58 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-03-19 15:25:58 +0100 |
commit | e73f13a707a2bc8e19c7c1424342eec7545797ae (patch) | |
tree | d2b00407e01c05c3b206ba97014bb1f80bd351dc /sql/sql_parse.h | |
parent | db65e4f537c8774b0f6fe92a08cd28905f7b65a9 (diff) | |
download | mariadb-git-e73f13a707a2bc8e19c7c1424342eec7545797ae.tar.gz |
extend check_global_access() to avoid my_error when it's not needed
(in INFORMATION_SCHEMA).
Diffstat (limited to 'sql/sql_parse.h')
-rw-r--r-- | sql/sql_parse.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_parse.h b/sql/sql_parse.h index 4510ebe94e2..6d47e648be2 100644 --- a/sql/sql_parse.h +++ b/sql/sql_parse.h @@ -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) { |