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/innodb_priv.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/innodb_priv.h')
-rw-r--r-- | sql/innodb_priv.h | 2 |
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); |