Skip to content

Commit 95faf34

Browse files
committed
Set opt_noacl (running with--skip-grant-tables) to 0 if we
reload grant tables.
1 parent 0d90b8b commit 95faf34

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sql/sql_reload.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ bool reload_acl_and_cache(THD *thd, unsigned long long options,
9393
my_error(ER_UNKNOWN_ERROR, MYF(0));
9494
}
9595
}
96+
opt_noacl= 0;
9697

9798
if (tmp_thd)
9899
{

0 commit comments

Comments
 (0)