mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
BUG#39812: Make statement replication default for 5.1 (to match 5.0)
Added test case to check the default value of @@binlog_format. mysql-test/t/binlog_format_basic.test: Added test case to verify the default binlog_format: it should be STATEMENT in 5.1 and MIXED in 6.0.
This commit is contained in:
@ -1,3 +1,6 @@
|
|||||||
|
SELECT @@GLOBAL.binlog_format;
|
||||||
|
@@GLOBAL.binlog_format
|
||||||
|
STATEMENT
|
||||||
'#---------------------BS_STVARS_002_01----------------------#'
|
'#---------------------BS_STVARS_002_01----------------------#'
|
||||||
SELECT COUNT(@@GLOBAL.binlog_format);
|
SELECT COUNT(@@GLOBAL.binlog_format);
|
||||||
COUNT(@@GLOBAL.binlog_format)
|
COUNT(@@GLOBAL.binlog_format)
|
||||||
|
@ -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----------------------#'
|
--echo '#---------------------BS_STVARS_002_01----------------------#'
|
||||||
####################################################################
|
####################################################################
|
||||||
# Displaying default value #
|
# Displaying default value #
|
||||||
|
Reference in New Issue
Block a user