1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-07 04:01:59 +03:00
mariadb/mysql-test/suite/sys_vars/t/gtid_domain_id_basic.test
unknown d9f975d08b MDEV-26: Global transaction ID
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.
2013-03-26 10:35:34 +01:00

18 lines
459 B
Plaintext

SET @old_gtid_domain_id= @@global.gtid_domain_id;
SELECT @@global.gtid_domain_id;
SET GLOBAL gtid_domain_id= 10;
SET SESSION gtid_domain_id= 20;
SELECT @@global.gtid_domain_id;
SELECT @@session.gtid_domain_id;
SET GLOBAL gtid_domain_id= DEFAULT;
SELECT @@global.gtid_domain_id;
SET GLOBAL gtid_domain_id= -10;
SELECT @@global.gtid_domain_id;
SET SESSION gtid_domain_id= -1;
SELECT @@session.gtid_domain_id;
SET GLOBAL gtid_domain_id= @old_gtid_domain_id;