summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2017-06-19 16:46:34 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2017-06-19 16:46:34 +0300
commitc73fa2d75fac7a057ae817bfaf142adb87ff2500 (patch)
treec075625ce33972005c76a1483074a00edeb2ba13 /sql
parentcf4a6abea12fcc957c81753be084104455f3cd9b (diff)
parentd1e182d603c73e42a18667f3984d6487c9a3b090 (diff)
downloadmariadb-git-c73fa2d75fac7a057ae817bfaf142adb87ff2500.tar.gz
Merge 10.1 into 10.2
This will also change the minimum and maximum value of innodb_log_file_size to 1MiB and 512GiB, respectively.
Diffstat (limited to 'sql')
-rw-r--r--sql/sql_reload.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_reload.cc b/sql/sql_reload.cc
index 313c77cc014..73b996e738e 100644
--- a/sql/sql_reload.cc
+++ b/sql/sql_reload.cc
@@ -253,7 +253,8 @@ bool reload_acl_and_cache(THD *thd, unsigned long long options,
NOTE: my_error() has been already called by reopen_tables() within
close_cached_tables().
*/
- result= 1;
+ thd->global_read_lock.unlock_global_read_lock(thd);
+ return 1;
}
if (thd->global_read_lock.make_global_read_lock_block_commit(thd)) // Killed