mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 18:41:56 +01:00
14 lines
639 B
Text
14 lines
639 B
Text
set @save_binlog_checksum= @@global.binlog_checksum;
|
|
set @@global.binlog_checksum = default;
|
|
select @@global.binlog_checksum as 'must be CRC32 by default';
|
|
must be CRC32 by default
|
|
CRC32
|
|
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 'binlog_checksum' can't be set to the value of 'ADLER32'
|
|
set @@global.binlog_checksum = @save_binlog_checksum;
|