summaryrefslogtreecommitdiff
path: root/sql/set_var.cc
diff options
context:
space:
mode:
authorunknown <sanja@askmonty.org>2011-12-13 20:52:06 +0200
committerunknown <sanja@askmonty.org>2011-12-13 20:52:06 +0200
commit988bd172b9ab285a4cc7a4abfdf00d5a096ff02e (patch)
tree77226b18cddf5a213408163e9a8bd122104d1fb8 /sql/set_var.cc
parent76d852d42549a450c72747b1cea1be1283a58bb7 (diff)
downloadmariadb-git-988bd172b9ab285a4cc7a4abfdf00d5a096ff02e.tar.gz
The variable query_cache_strip_comments allowed in embedded server.
Diffstat (limited to 'sql/set_var.cc')
-rw-r--r--sql/set_var.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/set_var.cc b/sql/set_var.cc
index 926ae4696b8..12ec76327f4 100644
--- a/sql/set_var.cc
+++ b/sql/set_var.cc
@@ -939,11 +939,11 @@ static sys_var_const_str sys_hostname(&vars, "hostname", glob_hostname);
static sys_var_const_str_ptr sys_log_basename(&vars, "log_basename",
&opt_log_basename);
+static sys_var_bool_ptr sys_query_cache_strip_comments(&vars, "query_cache_strip_comments",
+ &opt_query_cache_strip_comments);
#ifndef EMBEDDED_LIBRARY
static sys_var_const_str_ptr sys_repl_report_host(&vars, "report_host", &report_host);
static sys_var_const_str_ptr sys_repl_report_user(&vars, "report_user", &report_user);
-static sys_var_bool_ptr sys_query_cache_strip_comments(&vars, "query_cache_strip_comments",
- &opt_query_cache_strip_comments);
static sys_var_const_str_ptr sys_repl_report_password(&vars, "report_password", &report_password);
static uchar *slave_get_report_port(THD *thd)