diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2019-04-24 22:13:12 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2019-04-28 12:49:59 +0200 |
commit | 7590861779e3da5760153c0d01ffbf26048e4cef (patch) | |
tree | 214daaeeed37c7842ccf90c03ad560e6e2be4447 /sql/sql_db.h | |
parent | 6c9a6bad4fe90c8bfcfe6dbf46835a39edc95c6f (diff) | |
download | mariadb-git-7590861779e3da5760153c0d01ffbf26048e4cef.tar.gz |
MDEV-19276 during connect, write error log warning for ER_DBACCESS_DENIED_ERROR,
if log_warnings > 1.
This makes ER_DBACCESS_DENIED_ERROR handling the same as we do for other
"access denied"
Diffstat (limited to 'sql/sql_db.h')
-rw-r--r-- | sql/sql_db.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_db.h b/sql/sql_db.h index ed8417a7793..b778e42645a 100644 --- a/sql/sql_db.h +++ b/sql/sql_db.h @@ -26,7 +26,7 @@ bool mysql_alter_db(THD *thd, const char *db, const Schema_specification_st *create); bool mysql_rm_db(THD *thd, char *db, bool if_exists); bool mysql_upgrade_db(THD *thd, LEX_STRING *old_db); -bool mysql_change_db(THD *thd, const LEX_STRING *new_db_name, +uint mysql_change_db(THD *thd, const LEX_STRING *new_db_name, bool force_switch); bool mysql_opt_change_db(THD *thd, |