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/r/gtid_binlog_state_basic.result
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

12 lines
522 B
Plaintext

SELECT @@GLOBAL.gtid_slave_pos;
@@GLOBAL.gtid_slave_pos
SET gtid_binlog_state= '';
ERROR HY000: Variable 'gtid_binlog_state' is a GLOBAL variable and should be set with SET GLOBAL
SET SESSION gtid_binlog_state= '';
ERROR HY000: Variable 'gtid_binlog_state' is a GLOBAL variable and should be set with SET GLOBAL
SET GLOBAL gtid_binlog_state= DEFAULT;
ERROR 42000: Variable 'gtid_binlog_state' doesn't have a default value
SELECT @@session.gtid_binlog_state;
ERROR HY000: Variable 'gtid_binlog_state' is a GLOBAL variable