summaryrefslogtreecommitdiff
path: root/sql/set_var.cc
diff options
context:
space:
mode:
authorunknown <lars@mysql.com>2005-02-21 18:40:28 +0100
committerunknown <lars@mysql.com>2005-02-21 18:40:28 +0100
commitedaf33a14e922571e8e80910bba6693b72e2db83 (patch)
treeb5fa7db32611dc285b185068666727e0844c2fdc /sql/set_var.cc
parent96f9c9d9d372b45e0271f2caccec948ddc6c7fc4 (diff)
downloadmariadb-git-edaf33a14e922571e8e80910bba6693b72e2db83.tar.gz
BUG#6662: Importing mysqldumps should not show any warnings of level "notes".
Diffstat (limited to 'sql/set_var.cc')
-rw-r--r--sql/set_var.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/set_var.cc b/sql/set_var.cc
index ca7987d2636..00ab4658f30 100644
--- a/sql/set_var.cc
+++ b/sql/set_var.cc
@@ -423,6 +423,9 @@ static sys_var_thd_bit sys_log_binlog("sql_log_bin",
static sys_var_thd_bit sys_sql_warnings("sql_warnings", 0,
set_option_bit,
OPTION_WARNINGS);
+static sys_var_thd_bit sys_sql_notes("sql_notes", 0,
+ set_option_bit,
+ OPTION_NOTES);
static sys_var_thd_bit sys_auto_is_null("sql_auto_is_null", 0,
set_option_bit,
OPTION_AUTO_IS_NULL);
@@ -610,6 +613,7 @@ sys_var *sys_variables[]=
&sys_sql_max_join_size,
&sys_sql_mode,
&sys_sql_warnings,
+ &sys_sql_notes,
&sys_storage_engine,
#ifdef HAVE_REPLICATION
&sys_sync_binlog_period,