SET @start_global_value = @@GLOBAL.transaction_write_set_extraction; Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SELECT @start_global_value; @start_global_value OFF SET @start_session_value = @@SESSION.transaction_write_set_extraction; Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SELECT @start_session_value; @start_session_value OFF SET @start_global_binlog_format = @@GLOBAL.binlog_format; Warnings: Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release. SELECT @start_global_binlog_format; @start_global_binlog_format ROW SET @@GLOBAL.binlog_format= 'ROW'; Warnings: Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release. SET global transaction_write_set_extraction= DEFAULT; Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SELECT @@global.transaction_write_set_extraction; @@global.transaction_write_set_extraction XXHASH64 Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SET global transaction_write_set_extraction='OFF'; Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SELECT @@global.transaction_write_set_extraction; @@global.transaction_write_set_extraction OFF Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SET global transaction_write_set_extraction= 0; Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SELECT @@global.transaction_write_set_extraction; @@global.transaction_write_set_extraction OFF Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SET global transaction_write_set_extraction='MURMUR32'; Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SELECT @@global.transaction_write_set_extraction; @@global.transaction_write_set_extraction MURMUR32 Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SET global transaction_write_set_extraction= 1; Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SELECT @@global.transaction_write_set_extraction; @@global.transaction_write_set_extraction MURMUR32 Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SET global transaction_write_set_extraction='XXHASH64'; Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SELECT @@global.transaction_write_set_extraction; @@global.transaction_write_set_extraction XXHASH64 Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SET global transaction_write_set_extraction= 2; Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SELECT @@global.transaction_write_set_extraction; @@global.transaction_write_set_extraction XXHASH64 Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SELECT @@session.transaction_write_set_extraction; @@session.transaction_write_set_extraction OFF Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SET @@SESSION.binlog_format= 'ROW'; Warnings: Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release. SET session transaction_write_set_extraction=DEFAULT; Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SELECT @@session.transaction_write_set_extraction; @@session.transaction_write_set_extraction XXHASH64 Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SET session transaction_write_set_extraction='OFF'; Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SELECT @@session.transaction_write_set_extraction; @@session.transaction_write_set_extraction OFF Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SET session transaction_write_set_extraction=0; Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SELECT @@session.transaction_write_set_extraction; @@session.transaction_write_set_extraction OFF Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SET session transaction_write_set_extraction='MURMUR32'; Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SELECT @@session.transaction_write_set_extraction; @@session.transaction_write_set_extraction MURMUR32 Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SET session transaction_write_set_extraction=1; Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SELECT @@session.transaction_write_set_extraction; @@session.transaction_write_set_extraction MURMUR32 Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SET session transaction_write_set_extraction='XXHASH64'; Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SELECT @@session.transaction_write_set_extraction; @@session.transaction_write_set_extraction XXHASH64 Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SET session transaction_write_set_extraction=2; Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SELECT @@session.transaction_write_set_extraction; @@session.transaction_write_set_extraction XXHASH64 Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SET session transaction_write_set_extraction='ABC'; ERROR 42000: Variable 'transaction_write_set_extraction' can't be set to the value of 'ABC' SELECT @@session.transaction_write_set_extraction; @@session.transaction_write_set_extraction XXHASH64 Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SET session transaction_write_set_extraction= 3; ERROR 42000: Variable 'transaction_write_set_extraction' can't be set to the value of '3' SELECT @@session.transaction_write_set_extraction; @@session.transaction_write_set_extraction XXHASH64 Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SET session transaction_write_set_extraction='1'; ERROR 42000: Variable 'transaction_write_set_extraction' can't be set to the value of '1' SELECT @@session.transaction_write_set_extraction; @@session.transaction_write_set_extraction XXHASH64 Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SET @@global.transaction_write_set_extraction = @start_global_value; Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SELECT @@global.transaction_write_set_extraction; @@global.transaction_write_set_extraction OFF Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SET @@session.transaction_write_set_extraction = @start_session_value; Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SELECT @@session.transaction_write_set_extraction; @@session.transaction_write_set_extraction OFF Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SET @@GLOBAL.binlog_format= @start_global_binlog_format; Warnings: Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release. SELECT @@GLOBAL.binlog_format; @@GLOBAL.binlog_format ROW Warnings: Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release. include/assert.inc [The value for transaction_write_set_extraction shoudl be OFF] CREATE TABLE t1 (i INT PRIMARY KEY); SET @start_session_value = @@SESSION.transaction_write_set_extraction; Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SELECT @start_session_value; @start_session_value OFF BEGIN; SET @@SESSION.transaction_write_set_extraction= MURMUR32; ERROR HY000: The system variable transaction_write_set_extraction cannot be set when there is an ongoing transaction. COMMIT; CREATE TABLE t2(c1 INT, c2 INT); CREATE TRIGGER tr2 AFTER INSERT ON t2 FOR EACH ROW BEGIN SET @@SESSION.transaction_write_set_extraction= MURMUR32; END| INSERT INTO t2 VALUES (0,0); ERROR HY000: The system variable transaction_write_set_extraction cannot be set when there is an ongoing transaction. DROP TABLE t2; SET @@SESSION.transaction_write_set_extraction=MURMUR32; Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SELECT @@SESSION.transaction_write_set_extraction; @@SESSION.transaction_write_set_extraction MURMUR32 Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SET @@SESSION.transaction_write_set_extraction=OFF; Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. include/assert.inc [The value for transaction_write_set_extraction should be OFF] SET @@SESSION.binlog_format= 'STATEMENT'; Warnings: Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release. SET @@SESSION.transaction_write_set_extraction= MURMUR32; ERROR HY000: Cannot change the value of variable transaction_write_set_extraction without binary log format as ROW. SET @@SESSION.binlog_format= 'MIXED'; Warnings: Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release. SET @@SESSION.transaction_write_set_extraction= MURMUR32; ERROR HY000: Cannot change the value of variable transaction_write_set_extraction without binary log format as ROW. SET @@SESSION.binlog_format= 'ROW'; Warnings: Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release. SET @@SESSION.transaction_write_set_extraction= MURMUR32; Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SELECT @@SESSION.transaction_write_set_extraction; @@SESSION.transaction_write_set_extraction MURMUR32 Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SET @@SESSION.transaction_write_set_extraction = @start_session_value; Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SELECT @@SESSION.transaction_write_set_extraction; @@SESSION.transaction_write_set_extraction OFF Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SET @@GLOBAL.binlog_format= 'STATEMENT'; Warnings: Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release. SET @@GLOBAL.transaction_write_set_extraction= MURMUR32; ERROR HY000: Cannot change the value of variable transaction_write_set_extraction without binary log format as ROW. SET @@GLOBAL.binlog_format= 'MIXED'; Warnings: Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release. SET @@GLOBAL.transaction_write_set_extraction= MURMUR32; ERROR HY000: Cannot change the value of variable transaction_write_set_extraction without binary log format as ROW. SET @@GLOBAL.binlog_format= 'ROW'; Warnings: Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release. SET @@GLOBAL.transaction_write_set_extraction= MURMUR32; Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SELECT @@GLOBAL.transaction_write_set_extraction; @@GLOBAL.transaction_write_set_extraction MURMUR32 Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SET @@GLOBAL.transaction_write_set_extraction = @start_global_value; Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SELECT @@GLOBAL.transaction_write_set_extraction; @@GLOBAL.transaction_write_set_extraction OFF Warnings: Warning 1287 '@@transaction_write_set_extraction' is deprecated and will be removed in a future release. SET @@GLOBAL.binlog_format= @start_global_binlog_format; Warnings: Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release. DROP TABLE t1;