summaryrefslogtreecommitdiff
path: root/sql/sys_vars.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2017-02-10 17:01:45 +0100
committerSergei Golubchik <serg@mariadb.org>2017-02-10 17:01:45 +0100
commit2195bb4e416232ab807ff67eecf03b1223bf6bff (patch)
tree4555af02df68cb0f26d454b1cf65086b62542875 /sql/sys_vars.cc
parent3ae038b732ce503fb839e9095355e05f5c6866f9 (diff)
parentbc4686f0f4d17dc57dd727c9f5390caa3022bdca (diff)
downloadmariadb-git-2195bb4e416232ab807ff67eecf03b1223bf6bff.tar.gz
Merge branch '10.1' into 10.2
Diffstat (limited to 'sql/sys_vars.cc')
-rw-r--r--sql/sys_vars.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/sys_vars.cc b/sql/sys_vars.cc
index fa723e2707f..fa7e6687349 100644
--- a/sql/sys_vars.cc
+++ b/sql/sys_vars.cc
@@ -642,6 +642,7 @@ static bool check_cs_client(sys_var *self, THD *thd, set_var *var)
if (check_charset_not_null(self, thd, var))
return true;
+ // Currently, UCS-2 cannot be used as a client character set
if (!is_supported_parser_charset((CHARSET_INFO *)(var->save_result.ptr)))
return true;
@@ -1256,9 +1257,9 @@ static bool update_cached_max_statement_time(sys_var *self, THD *thd,
static Sys_var_double Sys_max_statement_time(
"max_statement_time",
- "A SELECT query that have taken more than max_statement_time seconds "
+ "A query that has taken more than max_statement_time seconds "
"will be aborted. The argument will be treated as a decimal value "
- "with microsecond precision. A value of 0 (default) means no timeout",
+ "with microsecond precision. A value of 0 (default) means no timeout",
SESSION_VAR(max_statement_time_double),
CMD_LINE(REQUIRED_ARG), VALID_RANGE(0, LONG_TIMEOUT), DEFAULT(0),
NO_MUTEX_GUARD, NOT_IN_BINLOG, ON_CHECK(0),