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= DEFAULT;
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
