summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorunknown <msvensson@pilot.mysql.com>2008-01-08 21:45:15 +0100
committerunknown <msvensson@pilot.mysql.com>2008-01-08 21:45:15 +0100
commitcd7ab06e082333386e8c806299b41e789600c68f (patch)
tree740eb193f9b333e626bd70d30c7e25a220760479 /mysql-test
parenta216016255c095c045640053f0a844067691bcc4 (diff)
downloadmariadb-git-cd7ab06e082333386e8c806299b41e789600c68f.tar.gz
reset master first in test to get consistent start
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/r/mysqlbinlog.result1
-rw-r--r--mysql-test/t/mysqlbinlog.test3
2 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/r/mysqlbinlog.result b/mysql-test/r/mysqlbinlog.result
index 7f500c88c26..1730b6b97eb 100644
--- a/mysql-test/r/mysqlbinlog.result
+++ b/mysql-test/r/mysqlbinlog.result
@@ -1,3 +1,4 @@
+reset master;
set timestamp=1000000000;
drop table if exists t1,t2,t3,t4,t5,t03,t04;
create table t1 (word varchar(20));
diff --git a/mysql-test/t/mysqlbinlog.test b/mysql-test/t/mysqlbinlog.test
index 569c5a10c6a..4592e422560 100644
--- a/mysql-test/t/mysqlbinlog.test
+++ b/mysql-test/t/mysqlbinlog.test
@@ -4,6 +4,9 @@
-- source include/have_log_bin.inc
+# Deletes all the binary logs
+reset master;
+
# we need this for getting fixed timestamps inside of this test
set timestamp=1000000000;