summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorjimw@mysql.com <>2004-12-03 18:42:35 +0100
committerjimw@mysql.com <>2004-12-03 18:42:35 +0100
commit5c29de39bdb5c5e2e81734b591f1b520216944c3 (patch)
tree31dd9284445c86e45b9b226a4ddde049af956639 /mysql-test
parent48fc4cbc6b1d9d4f63a54036060745a5a58e5769 (diff)
downloadmariadb-git-5c29de39bdb5c5e2e81734b591f1b520216944c3.tar.gz
Fix t/rpl_create_database.test: replace version in SHOW BINLOG RESULTS
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/r/rpl_create_database.result2
-rw-r--r--mysql-test/t/rpl_create_database.test2
2 files changed, 3 insertions, 1 deletions
diff --git a/mysql-test/r/rpl_create_database.result b/mysql-test/r/rpl_create_database.result
index 90c9d83e059..2375e13bb5c 100644
--- a/mysql-test/r/rpl_create_database.result
+++ b/mysql-test/r/rpl_create_database.result
@@ -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
diff --git a/mysql-test/t/rpl_create_database.test b/mysql-test/t/rpl_create_database.test
index 39790b8afa4..7ed0d5dbdbb 100644
--- a/mysql-test/t/rpl_create_database.test
+++ b/mysql-test/t/rpl_create_database.test
@@ -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;