summaryrefslogtreecommitdiff
path: root/sql/sql_parse.h
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-03-19 15:25:58 +0100
committerSergei Golubchik <sergii@pisem.net>2013-03-19 15:25:58 +0100
commite73f13a707a2bc8e19c7c1424342eec7545797ae (patch)
treed2b00407e01c05c3b206ba97014bb1f80bd351dc /sql/sql_parse.h
parentdb65e4f537c8774b0f6fe92a08cd28905f7b65a9 (diff)
downloadmariadb-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.h2
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)
{