mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
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
This commit is contained in:
@ -42,7 +42,7 @@ USE mysqltest_sisyfos;
|
|||||||
CREATE TABLE t2 (a INT);
|
CREATE TABLE t2 (a INT);
|
||||||
SHOW BINLOG EVENTS;
|
SHOW BINLOG EVENTS;
|
||||||
Log_name Pos Event_type Server_id Orig_log_pos Info
|
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 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 174 Query 1 174 DROP DATABASE IF EXISTS mysqltest_sisyfos
|
||||||
master-bin.000001 263 Query 1 263 CREATE DATABASE mysqltest_prometheus
|
master-bin.000001 263 Query 1 263 CREATE DATABASE mysqltest_prometheus
|
||||||
|
@ -54,6 +54,8 @@ INSERT INTO t1 VALUES (1);
|
|||||||
CREATE DATABASE mysqltest_sisyfos;
|
CREATE DATABASE mysqltest_sisyfos;
|
||||||
USE mysqltest_sisyfos;
|
USE mysqltest_sisyfos;
|
||||||
CREATE TABLE t2 (a INT);
|
CREATE TABLE t2 (a INT);
|
||||||
|
let $VERSION=`select version()`;
|
||||||
|
--replace_result $VERSION VERSION
|
||||||
SHOW BINLOG EVENTS;
|
SHOW BINLOG EVENTS;
|
||||||
SHOW DATABASES;
|
SHOW DATABASES;
|
||||||
sync_slave_with_master;
|
sync_slave_with_master;
|
||||||
|
Reference in New Issue
Block a user