summaryrefslogtreecommitdiffstats
path: root/mysql-test/main/session_tracker_last_gtid.test
blob: 58aee2de837187f4e5c0455007e3c0959a4d7fce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--source include/not_embedded.inc
--source include/have_innodb.inc
--source include/have_binlog_format_statement.inc

--enable_session_track_info

--echo #
--echo # MDEV-15477: SESSION_SYSVARS_TRACKER does not track last_gtid
--echo #

SET gtid_seq_no=1000;
SET @@session.session_track_system_variables='last_gtid';
create table t1 (a int) engine=innodb;
select @@last_gtid;
insert into t1 values (1);
select @@last_gtid;
drop table t1;

--disable_session_track_info
reset master;