Commit 67aec82f authored by unknown's avatar unknown
Browse files

Fix t/rpl_create_database.test: replace version in SHOW BINLOG RESULTS


mysql-test/t/rpl_create_database.test:
  need to replace version in results
mysql-test/r/rpl_create_database.result:
  version gets replaced
parent a1fb39e7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@ USE mysqltest_sisyfos;
CREATE TABLE t2 (a INT);
SHOW BINLOG EVENTS;
Log_name	Pos	Event_type	Server_id	Orig_log_pos	Info
master-bin.000001	4	Start	1	4	Server ver: 4.1.8-debug-log, Binlog ver: 3
master-bin.000001	4	Start	1	4	Server ver: VERSION, Binlog ver: 3
master-bin.000001	79	Query	1	79	DROP DATABASE IF EXISTS mysqltest_prometheus
master-bin.000001	174	Query	1	174	DROP DATABASE IF EXISTS mysqltest_sisyfos
master-bin.000001	263	Query	1	263	CREATE DATABASE mysqltest_prometheus
+2 −0
Original line number Diff line number Diff line
@@ -54,6 +54,8 @@ INSERT INTO t1 VALUES (1);
CREATE DATABASE mysqltest_sisyfos;
USE mysqltest_sisyfos;
CREATE TABLE t2 (a INT);
let $VERSION=`select version()`;
--replace_result $VERSION VERSION
SHOW BINLOG EVENTS;
SHOW DATABASES;
sync_slave_with_master;