summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <mkindahl@dl145h.mysql.com>2008-03-25 15:20:42 +0100
committerunknown <mkindahl@dl145h.mysql.com>2008-03-25 15:20:42 +0100
commit2daa01682775d42bbe00d3fb41e0865079240de8 (patch)
treef94f6382ed4a8708a0459daf6d28e7570f6fa1b7
parent92a09cf98b8f8abc6c1f1adc987c9826b657f812 (diff)
downloadmariadb-git-2daa01682775d42bbe00d3fb41e0865079240de8.tar.gz
Eliminating compiler warnings.
sql/set_var.h: Changing order of initializer list for sys_var class constructor to eliminate compiler warning. mysql-test/suite/binlog/combinations: New BitKeeper file ``mysql-test/suite/binlog/combinations''
-rw-r--r--mysql-test/suite/binlog/combinations8
-rw-r--r--sql/set_var.h4
2 files changed, 10 insertions, 2 deletions
diff --git a/mysql-test/suite/binlog/combinations b/mysql-test/suite/binlog/combinations
new file mode 100644
index 00000000000..ea25611a5d4
--- /dev/null
+++ b/mysql-test/suite/binlog/combinations
@@ -0,0 +1,8 @@
+[row]
+--binlog-format=row
+
+[stmt]
+--binlog-format=statement
+
+[mix]
+--binlog-format=mixed
diff --git a/sql/set_var.h b/sql/set_var.h
index 46fe7755baf..b33a3a968bb 100644
--- a/sql/set_var.h
+++ b/sql/set_var.h
@@ -73,8 +73,8 @@ public:
bool no_support_one_shot;
sys_var(const char *name_arg, sys_after_update_func func= NULL,
Binlog_status_enum binlog_status_arg= NOT_IN_BINLOG)
- :name(name_arg), after_update(func), binlog_status(binlog_status_arg)
- , no_support_one_shot(1)
+ :name(name_arg), after_update(func), no_support_one_shot(1),
+ binlog_status(binlog_status_arg)
{}
virtual ~sys_var() {}
void chain_sys_var(sys_var_chain *chain_arg)