mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Backport MySQL WL#2540 into MariaDB.
Patch backported: bzr diff '-rrevid:alfranio.correia@oracle.com-20101121143257-se3vpqus73l4mum0 ..revid:luis.soares@oracle.com-20101124111752-9b8260bd1qak87hr' --old=lp:mysql-server --new=lp:mysql-server
This commit is contained in:
14
mysql-test/suite/sys_vars/r/binlog_checksum_basic.result
Normal file
14
mysql-test/suite/sys_vars/r/binlog_checksum_basic.result
Normal file
@ -0,0 +1,14 @@
|
||||
set @save_binlog_checksum= @@global.binlog_checksum;
|
||||
set @@global.binlog_checksum = default;
|
||||
select @@global.binlog_checksum as 'must be NONE by default';
|
||||
must be NONE by default
|
||||
NONE
|
||||
select @@session.binlog_checksum as 'no session var';
|
||||
ERROR HY000: Variable 'binlog_checksum' is a GLOBAL variable
|
||||
set @@global.binlog_checksum = CRC32;
|
||||
set @@global.binlog_checksum = CRC32;
|
||||
set @@global.master_verify_checksum = 0;
|
||||
set @@global.master_verify_checksum = default;
|
||||
set @@global.binlog_checksum = ADLER32;
|
||||
ERROR 42000: Variable 'checksum' can't be set to the value of 'ADLER32'
|
||||
set @@global.binlog_checksum = @save_binlog_checksum;
|
Reference in New Issue
Block a user