| 1 |
# |
| 2 |
# MDEV-26137 ALTER TABLE IMPORT enhancement |
| 3 |
# |
| 4 |
CREATE TABLE t1(a INT PRIMARY KEY DEFAULT 42) CREATE_OPTIONS; |
| 5 |
INSERT INTO t1() VALUES(); |
| 6 |
FLUSH TABLES t1 FOR EXPORT; |
| 7 |
UNLOCK TABLES; |
| 8 |
ALTER TABLE t2 IMPORT TABLESPACE; |
| 9 |
Warnings: |
| 10 |
Warning 1810 IO Read error: (2, No such file or directory) Error opening './test/t2.cfg', will attempt to import without schema verification |
| 11 |
Warning 1810 IO Read error: (2, No such file or directory) Error opening './test/t2.cfg', will attempt to import without schema verification |
| 12 |
SHOW CREATE TABLE t2; |
| 13 |
Table Create Table |
| 14 |
t2 CREATE TABLE `t2` ( |
| 15 |
`a` int(11) NOT NULL DEFAULT 42, |
| 16 |
PRIMARY KEY (`a`) |
| 17 |
) CREATE_OPTIONS |
| 18 |
SELECT * FROM t2; |
| 19 |
a |
| 20 |
42 |
| 21 |
DROP TABLE t1, t2; |