summaryrefslogtreecommitdiff
path: root/sql/sys_vars.cc
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2018-10-15 12:06:00 +0200
committerVladislav Vaintroub <wlad@mariadb.com>2018-10-15 12:06:00 +0200
commitdc3a20b191362227a6f85fadfc3a8b6c76f69ec6 (patch)
tree65dd8f104853aa5f7ec192400f59596f404c2bdc /sql/sys_vars.cc
parent9905949b414740cdb15d5048b3289e4c5bb54f93 (diff)
downloadmariadb-git-dc3a20b191362227a6f85fadfc3a8b6c76f69ec6.tar.gz
MDEV-14429 sql_safe_updates in my.cnf not work
Diffstat (limited to 'sql/sys_vars.cc')
-rw-r--r--sql/sys_vars.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sys_vars.cc b/sql/sys_vars.cc
index ffe861ddfbc..080e74ce367 100644
--- a/sql/sys_vars.cc
+++ b/sql/sys_vars.cc
@@ -2719,7 +2719,7 @@ static Sys_var_bit Sys_auto_is_null(
static Sys_var_bit Sys_safe_updates(
"sql_safe_updates", "sql_safe_updates",
- SESSION_VAR(option_bits), NO_CMD_LINE, OPTION_SAFE_UPDATES,
+ SESSION_VAR(option_bits), CMD_LINE(REQUIRED_ARG), OPTION_SAFE_UPDATES,
DEFAULT(FALSE));
static Sys_var_bit Sys_buffer_results(