| 1 |
SELECT @@global.gtid_seq_no; |
| 2 |
ERROR HY000: Variable 'gtid_seq_no' is a SESSION variable |
| 3 |
SET GLOBAL gtid_seq_no= 10; |
| 4 |
ERROR HY000: Variable 'gtid_seq_no' is a SESSION variable and can't be used with SET GLOBAL |
| 5 |
SET SESSION gtid_seq_no= 20; |
| 6 |
SELECT @@session.gtid_seq_no; |
| 7 |
@@session.gtid_seq_no |
| 8 |
20 |
| 9 |
SET GLOBAL gtid_seq_no= DEFAULT; |
| 10 |
ERROR HY000: Variable 'gtid_seq_no' is a SESSION variable and can't be used with SET GLOBAL |
| 11 |
SET SESSION gtid_seq_no= DEFAULT; |
| 12 |
SET SESSION gtid_seq_no= -1; |
| 13 |
Warnings: |
| 14 |
Warning 1292 Truncated incorrect gtid_seq_no value: '-1' |
| 15 |
SELECT @@session.gtid_seq_no; |
| 16 |
@@session.gtid_seq_no |
| 17 |
0 |