mirror of
https://github.com/MariaDB/server.git
synced 2025-05-28 13:01:41 +03:00
Adjust full test suite to work with GTID. Huge patch, mainly due to having to update .result file for all SHOW BINLOG EVENTS and mysqlbinlog outputs, where the new GTID events pop up. Everything was painstakingly checked to be still correct and valid .result file updates.
30 lines
756 B
Plaintext
30 lines
756 B
Plaintext
SET @old_gtid_domain_id= @@global.gtid_domain_id;
|
|
SELECT @@global.gtid_domain_id;
|
|
@@global.gtid_domain_id
|
|
0
|
|
SET GLOBAL gtid_domain_id= 10;
|
|
SET SESSION gtid_domain_id= 20;
|
|
SELECT @@global.gtid_domain_id;
|
|
@@global.gtid_domain_id
|
|
10
|
|
SELECT @@session.gtid_domain_id;
|
|
@@session.gtid_domain_id
|
|
20
|
|
SET GLOBAL gtid_domain_id= DEFAULT;
|
|
SELECT @@global.gtid_domain_id;
|
|
@@global.gtid_domain_id
|
|
0
|
|
SET GLOBAL gtid_domain_id= -10;
|
|
Warnings:
|
|
Warning 1292 Truncated incorrect gtid_domain_id value: '-10'
|
|
SELECT @@global.gtid_domain_id;
|
|
@@global.gtid_domain_id
|
|
0
|
|
SET SESSION gtid_domain_id= -1;
|
|
Warnings:
|
|
Warning 1292 Truncated incorrect gtid_domain_id value: '-1'
|
|
SELECT @@session.gtid_domain_id;
|
|
@@session.gtid_domain_id
|
|
0
|
|
SET GLOBAL gtid_domain_id= @old_gtid_domain_id;
|