summaryrefslogtreecommitdiff
path: root/sql/innodb_priv.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/innodb_priv.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/innodb_priv.h')
-rw-r--r--sql/innodb_priv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/innodb_priv.h b/sql/innodb_priv.h
index 5406c292b18..24ee848bed1 100644
--- a/sql/innodb_priv.h
+++ b/sql/innodb_priv.h
@@ -25,7 +25,7 @@ class THD;
int get_quote_char_for_identifier(THD *thd, const char *name, uint length);
bool schema_table_store_record(THD *thd, TABLE *table);
void localtime_to_TIME(MYSQL_TIME *to, struct tm *from);
-bool check_global_access(THD *thd, ulong want_access);
+bool check_global_access(THD *thd, ulong want_access, bool no_errors=false);
uint strconvert(CHARSET_INFO *from_cs, const char *from,
CHARSET_INFO *to_cs, char *to, uint to_length,
uint *errors);