mirror of
https://github.com/MariaDB/server.git
synced 2025-03-29 10:25:31 +01:00
5.1.46 after-merge fixes: must FLUSH TABLES before copying .frm.
This commit is contained in:
parent
79405cca92
commit
be7c84c7e7
2 changed files with 2 additions and 0 deletions
mysql-test
|
@ -2379,6 +2379,7 @@ DROP TABLE t1;
|
|||
CREATE TABLE t1(a INT, b BIT(1));
|
||||
INSERT INTO t1 VALUES(1, 0), (2, 1);
|
||||
CREATE TABLE t2 SELECT * FROM t1;
|
||||
FLUSH TABLES;
|
||||
CHECKSUM TABLE t1 EXTENDED;
|
||||
Table Checksum
|
||||
test.t1 3775188275
|
||||
|
|
|
@ -1641,6 +1641,7 @@ DROP TABLE t1;
|
|||
CREATE TABLE t1(a INT, b BIT(1));
|
||||
INSERT INTO t1 VALUES(1, 0), (2, 1);
|
||||
CREATE TABLE t2 SELECT * FROM t1;
|
||||
FLUSH TABLES;
|
||||
--copy_file $MYSQLD_DATADIR/test/t1.frm $MYSQLD_DATADIR/test/t3.frm
|
||||
--copy_file $MYSQLD_DATADIR/test/t1.MYD $MYSQLD_DATADIR/test/t3.MYD
|
||||
--copy_file $MYSQLD_DATADIR/test/t1.MYI $MYSQLD_DATADIR/test/t3.MYI
|
||||
|
|
Loading…
Add table
Reference in a new issue