Current Path : /home/usr.opt/mysql57/mysql-test/suite/innodb/t/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : /home/usr.opt/mysql57/mysql-test/suite/innodb/t/import_export_4k.test |
--source include/have_innodb.inc --source include/have_innodb_4k.inc let $MYSQLD_DATADIR =`SELECT @@datadir`; --echo # --echo # Bug#21341030 - IMPORT TABLESPACE HITS DEBUG ASSERTION WHEN --echo # USING 4K AND ROW_FORMAT=DYNAMIC CREATE TABLE t1 (c1 INT, c2 BLOB, c3 BLOB) ENGINE=InnoDB ROW_FORMAT=DYNAMIC; INSERT INTO t1 VALUES(100, REPEAT('abcdef', 899), REPEAT('ghijklmn', 4800)); INSERT INTO t1 SELECT * FROM t1; INSERT INTO t1 SELECT * FROM t1; INSERT INTO t1 SELECT * FROM t1; INSERT INTO t1 SELECT * FROM t1; INSERT INTO t1 SELECT * FROM t1; INSERT INTO t1 SELECT * FROM t1; INSERT INTO t1 SELECT * FROM t1; INSERT INTO t1 SELECT * FROM t1; FLUSH TABLES t1 FOR EXPORT; --copy_file $MYSQLD_DATADIR/test/t1.ibd $MYSQLD_DATADIR/test/t1b.ibd --copy_file $MYSQLD_DATADIR/test/t1.cfg $MYSQLD_DATADIR/test/t1b.cfg UNLOCK TABLES; ALTER TABLE t1 DISCARD TABLESPACE; --move_file $MYSQLD_DATADIR/test/t1b.ibd $MYSQLD_DATADIR/test/t1.ibd --move_file $MYSQLD_DATADIR/test/t1b.cfg $MYSQLD_DATADIR/test/t1.cfg ALTER TABLE t1 IMPORT TABLESPACE; CHECK TABLE t1; DROP TABLE t1;