From 988bd172b9ab285a4cc7a4abfdf00d5a096ff02e Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 13 Dec 2011 20:52:06 +0200 Subject: [PATCH] The variable query_cache_strip_comments allowed in embedded server. --- sql/set_var.cc | 4 ++-- 1 file 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)