mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
12a38fc65e
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
13 lines
181 B
Text
13 lines
181 B
Text
RESET MASTER;
|
|
CREATE TABLE t1 (a INT);
|
|
INSERT INTO t1 VALUES (1),(2),(3);
|
|
SELECT * FROM t1;
|
|
a
|
|
1
|
|
2
|
|
3
|
|
REPLACE INTO t1 VALUES (4);
|
|
DROP TABLE t1;
|
|
FLUSH LOGS;
|
|
Contain RELOAD DATABASE
|
|
1
|