[Commits] cf5444c4260: fix test by builtbot run resul
revision-id: cf5444c42600b67a8e7253933042870d3a364aa0 (mariadb-10.2.15-73-gcf5444c4260) parent(s): 63274c3839af750b4ec7b00a1d733fee32d05026 author: Oleksandr Byelkin committer: Oleksandr Byelkin timestamp: 2018-06-25 13:18:30 +0200 message: fix test by builtbot run resul --- mysql-test/r/session_tracker_last_gtid.result | 15 ++++++++------- mysql-test/t/session_tracker_last_gtid.test | 3 ++- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/mysql-test/r/session_tracker_last_gtid.result b/mysql-test/r/session_tracker_last_gtid.result index 6ed850d4ff5..795d0aaa2a2 100644 --- a/mysql-test/r/session_tracker_last_gtid.result +++ b/mysql-test/r/session_tracker_last_gtid.result @@ -1,33 +1,34 @@ # # MDEV-15477: SESSION_SYSVARS_TRACKER does not track last_gtid # +SET gtid_seq_no=1000; SET @@session.session_track_system_variables='last_gtid'; create table t1 (a int) engine=innodb; -- Tracker : SESSION_TRACK_SYSTEM_VARIABLES -- last_gtid --- 0-1-1 +-- 0-1-1000 select @@last_gtid; @@last_gtid -0-1-1 +0-1-1000 -- Tracker : SESSION_TRACK_SYSTEM_VARIABLES -- last_gtid --- 0-1-1 +-- 0-1-1000 insert into t1 values (1); -- Tracker : SESSION_TRACK_SYSTEM_VARIABLES -- last_gtid --- 0-1-2 +-- 0-1-1001 select @@last_gtid; @@last_gtid -0-1-2 +0-1-1001 -- Tracker : SESSION_TRACK_SYSTEM_VARIABLES -- last_gtid --- 0-1-2 +-- 0-1-1001 drop table t1; -- Tracker : SESSION_TRACK_SYSTEM_VARIABLES -- last_gtid --- 0-1-3 +-- 0-1-1002 diff --git a/mysql-test/t/session_tracker_last_gtid.test b/mysql-test/t/session_tracker_last_gtid.test index ccd2c25b31f..24cf2104a0c 100644 --- a/mysql-test/t/session_tracker_last_gtid.test +++ b/mysql-test/t/session_tracker_last_gtid.test @@ -1,4 +1,4 @@ - +--source include/not_embedded.inc --source include/have_innodb.inc --source include/have_binlog_format_statement.inc @@ -8,6 +8,7 @@ --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;
participants (1)
-
Oleksandr Byelkin