summaryrefslogtreecommitdiff
path: root/sql/sql_reload.cc
diff options
context:
space:
mode:
authorMichael Widenius <monty@mariadb.org>2015-10-12 13:05:31 +0300
committerMichael Widenius <monty@mariadb.org>2015-10-21 16:31:11 +0300
commit95faf34d859aee242812fae31629b224feeb868a (patch)
tree20cc979793421c861484965e73cc19fbd07da933 /sql/sql_reload.cc
parent0d90b8bed27c23e5716e857a5d8c1bc6f8a429af (diff)
downloadmariadb-git-95faf34d859aee242812fae31629b224feeb868a.tar.gz
Set opt_noacl (running with--skip-grant-tables) to 0 if we
reload grant tables.
Diffstat (limited to 'sql/sql_reload.cc')
-rw-r--r--sql/sql_reload.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_reload.cc b/sql/sql_reload.cc
index 7390aa0bb0f..4707aed933e 100644
--- a/sql/sql_reload.cc
+++ b/sql/sql_reload.cc
@@ -93,6 +93,7 @@ bool reload_acl_and_cache(THD *thd, unsigned long long options,
my_error(ER_UNKNOWN_ERROR, MYF(0));
}
}
+ opt_noacl= 0;
if (tmp_thd)
{