[Commits] ae86c43: fixed test of MDEV-6997

sanja at mariadb.com sanja at mariadb.com
Wed Feb 25 20:00:29 EET 2015


revision-id: ae86c4388784ccc74d80c378010d9e7b9fec7433
parent(s): 26f48fa6c110efc62e17e1edfe6569445387e11d
committer: Oleksandr Byelkin
branch nick: work-maria-10.1-MDEV-6997-real
timestamp: 2015-02-25 19:00:25 +0100
message:

fixed test of MDEV-6997

---
 mysql-test/r/set_statement_notembedded_binlog.result | 4 ++--
 mysql-test/t/set_statement_notembedded_binlog.test   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/mysql-test/r/set_statement_notembedded_binlog.result b/mysql-test/r/set_statement_notembedded_binlog.result
index bd50832..f80a052 100644
--- a/mysql-test/r/set_statement_notembedded_binlog.result
+++ b/mysql-test/r/set_statement_notembedded_binlog.result
@@ -1,8 +1,8 @@
 drop table if exists t1;
 drop view if exists t1;
-PURGE BINARY LOGS before now();
+reset master;
 set statement last_insert_id = 112 for create table t1 as select last_insert_id();
 show binlog events limit 4,1;
 Log_name	Pos	Event_type	Server_id	End_log_pos	Info
-x	x	x	x	x	use `test`; DROP TABLE IF EXISTS `t1` /* generated by server */
+x	x	x	x	x	LAST_INSERT_ID=112
 drop table t1;
diff --git a/mysql-test/t/set_statement_notembedded_binlog.test b/mysql-test/t/set_statement_notembedded_binlog.test
index 150514a..eb9953a 100644
--- a/mysql-test/t/set_statement_notembedded_binlog.test
+++ b/mysql-test/t/set_statement_notembedded_binlog.test
@@ -8,7 +8,7 @@ drop view if exists t1;
 --enable_warnings
 
 
-PURGE BINARY LOGS before now();
+reset master;
 set statement last_insert_id = 112 for create table t1 as select last_insert_id();
 --replace_column 1 x 2 x 3 x 4 x 5 x
 show binlog events limit 4,1;


More information about the commits mailing list