mirror of
https://github.com/MariaDB/server.git
synced 2025-10-12 12:25:37 +03:00
fix test to pass on embedded serever
This commit is contained in:
@@ -34,8 +34,6 @@ db.opt
|
||||
t1.frm
|
||||
restore: t1 .ibd and .cfg files
|
||||
ALTER TABLE t1 IMPORT TABLESPACE;
|
||||
Warnings:
|
||||
Warning 1810 IO Read error: (2, No such file or directory) Error opening './test/t1.cfg', will attempt to import without schema verification
|
||||
SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
@@ -110,8 +108,6 @@ ALTER TABLE t1 ROW_FORMAT=DYNAMIC;
|
||||
ALTER TABLE t1 DISCARD TABLESPACE;
|
||||
restore: t1 .ibd and .cfg files
|
||||
ALTER TABLE t1 IMPORT TABLESPACE;
|
||||
Warnings:
|
||||
Warning 1810 IO Read error: (2, No such file or directory) Error opening './test/t1.cfg', will attempt to import without schema verification
|
||||
SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
|
@@ -49,7 +49,9 @@ ib_restore_tablespaces("test", "t1");
|
||||
EOF
|
||||
|
||||
--remove_file $MYSQLD_DATADIR/test/t1.cfg
|
||||
--disable_warnings
|
||||
ALTER TABLE t1 IMPORT TABLESPACE;
|
||||
--enable_warnings
|
||||
SHOW CREATE TABLE t1;
|
||||
UPDATE t1 set b = repeat("de", 100) where b = repeat("cd", 200);
|
||||
--replace_column 9 #
|
||||
@@ -123,7 +125,9 @@ ib_restore_tablespaces("test", "t1");
|
||||
EOF
|
||||
|
||||
--remove_file $MYSQLD_DATADIR/test/t1.cfg
|
||||
--disable_warnings
|
||||
ALTER TABLE t1 IMPORT TABLESPACE;
|
||||
--enable_warnings
|
||||
SHOW CREATE TABLE t1;
|
||||
UPDATE t1 SET C2 = ST_GeomFromText('POINT(0 0)');
|
||||
SELECT COUNT(*) FROM t1;
|
||||
|
Reference in New Issue
Block a user