Skip to content
Permalink
Browse files
fix the test for embedded
  • Loading branch information
vuvova committed Apr 26, 2019
1 parent da0e00e commit 757daa4
Showing 1 changed file with 2 additions and 0 deletions.
@@ -1,4 +1,5 @@
--source include/have_innodb.inc
let $datadir=`select @@datadir`;
--echo #
--echo # TRUNCATE TABLE
--echo #
@@ -72,6 +73,7 @@ SET FOREIGN_KEY_CHECKS= ON;
CREATE TABLE t2 (f2 INT, FOREIGN KEY(f2) REFERENCES t1 (f2)) ENGINE=InnoDB;
--error ER_CANT_CREATE_TABLE
CREATE TABLE t3 (a INT) ENGINE=InnoDB;
--replace_result $datadir ./
--error ER_ERROR_ON_RENAME
ALTER TABLE t1 RENAME TO t3;
ALTER TABLE t1 FORCE;

0 comments on commit 757daa4

Please sign in to comment.