summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/sys_vars/t/gtid_seq_no_basic.test
blob: e93455337d630f433d0ce0fbffb8ec61b64b0a9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
SELECT @@global.gtid_seq_no;

--error ER_LOCAL_VARIABLE
SET GLOBAL gtid_seq_no= 10;
SET SESSION gtid_seq_no= 20;
SELECT @@session.gtid_seq_no;

--error ER_LOCAL_VARIABLE
SET GLOBAL gtid_seq_no= DEFAULT;

SET SESSION gtid_seq_no= DEFAULT;

SET SESSION gtid_seq_no= -1;
SELECT @@session.gtid_seq_no;