summaryrefslogtreecommitdiff
path: root/mysql-test/r/ctype_gbk_binlog.result
diff options
context:
space:
mode:
authorunknown <Li-Bing.Song@sun.com>2009-09-07 13:42:54 +0800
committerunknown <Li-Bing.Song@sun.com>2009-09-07 13:42:54 +0800
commit12a38fc65e4d99cd6f99d9aa32e7635fe6167620 (patch)
tree40b0da91080e324f6b13d3fddcfef6daf55e998b /mysql-test/r/ctype_gbk_binlog.result
parent5210d5a9a6bb30d1158ea0b0de934f7dddde854c (diff)
downloadmariadb-git-12a38fc65e4d99cd6f99d9aa32e7635fe6167620.tar.gz
Bug#46010 main.ctype_gbk_binlog fails sporadically : Table 't2' already exists
This test case uses mysqlbinlog to dump the content of master-bin.000001, but the content of master-bin.000001 is not that this test needs. MTR runs a lot of test cases on one server, so when this test starts, the current binlog file might not be master-bin.000001, or there are other events are written by tests before. 'RESET MASTER' command must be called at the begin, it ensures that binlog of this test is wrote to master-bin.000001 correctly. Three other tests have the same problem, They were fixed together. mysqlbinlog-cp932 binlog_incident binlog_tmp_table
Diffstat (limited to 'mysql-test/r/ctype_gbk_binlog.result')
-rw-r--r--mysql-test/r/ctype_gbk_binlog.result1
1 files changed, 1 insertions, 0 deletions
diff --git a/mysql-test/r/ctype_gbk_binlog.result b/mysql-test/r/ctype_gbk_binlog.result
index a49e170ff19..df927af9a6b 100644
--- a/mysql-test/r/ctype_gbk_binlog.result
+++ b/mysql-test/r/ctype_gbk_binlog.result
@@ -1,3 +1,4 @@
+RESET MASTER;
SET NAMES gbk;
CREATE TABLE t1 (
f1 BLOB