1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-28 13:01:41 +03:00
mariadb/mysql-test/suite/sys_vars/r/gtid_seq_no_basic.result
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

17 lines
566 B
Plaintext

SELECT @@global.gtid_seq_no;
ERROR HY000: Variable 'gtid_seq_no' is a SESSION variable
SET GLOBAL gtid_seq_no= 10;
ERROR HY000: Variable 'gtid_seq_no' is a SESSION variable and can't be used with SET GLOBAL
SET SESSION gtid_seq_no= 20;
SELECT @@session.gtid_seq_no;
@@session.gtid_seq_no
20
SET GLOBAL gtid_seq_no= DEFAULT;
ERROR HY000: Variable 'gtid_seq_no' is a SESSION variable and can't be used with SET GLOBAL
SET SESSION gtid_seq_no= -1;
Warnings:
Warning 1292 Truncated incorrect gtid_seq_no value: '-1'
SELECT @@session.gtid_seq_no;
@@session.gtid_seq_no
0