#At file:///home/sven/bzr/debug-max/5.1/
2773 Sven Sandberg 2008-10-22
BUG#39812: Make statement replication default for 5.1 (to match 5.0)
Adding test case.
modified:
mysql-test/r/binlog_format_basic.result
mysql-test/t/binlog_format_basic.test
per-file messages:
mysql-test/r/binlog_format_basic.result
Added test to verify that binlog_format defaults to STATEMENT on
5.1 and MIXED on 6.0.
=== modified file 'mysql-test/r/binlog_format_basic.result'
--- a/mysql-test/r/binlog_format_basic.result 2008-04-10 13:14:28 +0000
+++ b/mysql-test/r/binlog_format_basic.result 2008-10-22 10:52:07 +0000
@@ -1,3 +1,6 @@
+SELECT @@GLOBAL.binlog_format;
+@@GLOBAL.binlog_format
+MIXED
'#---------------------BS_STVARS_002_01----------------------#'
SELECT COUNT(@@GLOBAL.binlog_format);
COUNT(@@GLOBAL.binlog_format)
=== modified file 'mysql-test/t/binlog_format_basic.test'
--- a/mysql-test/t/binlog_format_basic.test 2008-04-10 13:14:28 +0000
+++ b/mysql-test/t/binlog_format_basic.test 2008-10-22 10:52:07 +0000
@@ -22,6 +22,13 @@
# #
###############################################################################
+###################################################################
+# BUG#39812: Make statement replication default for 5.1 (to match 5.0)
+# We just verify that the default binlog_format is STATEMENT in 5.1.
+# In 6.0, it should be MIXED.
+###################################################################
+SELECT @@GLOBAL.binlog_format;
+
--echo '#---------------------BS_STVARS_002_01----------------------#'
####################################################################
# Displaying default value #
| Thread |
|---|
| • bzr commit into mysql-5.1 branch (sven:2773) Bug#39812 | Sven Sandberg | 22 Oct |