summaryrefslogtreecommitdiff
path: root/sql/sys_vars.cc
diff options
context:
space:
mode:
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),