1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-05 16:59:35 +03:00
mariadb/mysql-test/suite/sys_vars/t/gtid_binlog_state_basic.test
unknown f9c2b402f4 MDEV-26: Global transaction ID.
Implement @@gtid_binlog_state. This is the internal state of the binlog
(most recent GTID logged for every domain_id and server_id). This allows
to save the state before RESET MASTER and restore it afterwards.
2013-08-23 14:02:13 +02:00

18 lines
417 B
Plaintext

--source include/not_embedded.inc
# Most things with gtid_binlog_state requires binlog enabled, and so is
# tested in rpl suite.
SELECT @@GLOBAL.gtid_slave_pos;
--error ER_GLOBAL_VARIABLE
SET gtid_binlog_state= '';
--error ER_GLOBAL_VARIABLE
SET SESSION gtid_binlog_state= '';
--error ER_NO_DEFAULT
SET GLOBAL gtid_binlog_state= DEFAULT;
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
SELECT @@session.gtid_binlog_state;