fixed problem with embedded server

parent 047bf49d
...@@ -133,7 +133,7 @@ drop table t1; ...@@ -133,7 +133,7 @@ drop table t1;
End of 4.1 tests End of 4.1 tests
SET SESSION keep_files_on_create = TRUE; SET SESSION keep_files_on_create = TRUE;
CREATE TABLE t1 (a INT) ENGINE MYISAM; CREATE TABLE t1 (a INT) ENGINE MYISAM;
ERROR HY000: Can't create/write to file './test/t1.MYD' (Errcode: 17) Got one of the listed errors
SET SESSION keep_files_on_create = FALSE; SET SESSION keep_files_on_create = FALSE;
CREATE TABLE t1 (a INT) ENGINE MYISAM; CREATE TABLE t1 (a INT) ENGINE MYISAM;
DROP TABLE t1; DROP TABLE t1;
......
...@@ -186,7 +186,7 @@ SET SESSION keep_files_on_create = TRUE; ...@@ -186,7 +186,7 @@ SET SESSION keep_files_on_create = TRUE;
--write_file $MYSQLTEST_VARDIR/master-data/test/t1.MYD --write_file $MYSQLTEST_VARDIR/master-data/test/t1.MYD
EOF EOF
--disable_abort_on_error --disable_abort_on_error
--error 1 --error 1,1,ER_TABLE_EXISTS_ERROR
CREATE TABLE t1 (a INT) ENGINE MYISAM; CREATE TABLE t1 (a INT) ENGINE MYISAM;
--error 0,1 --error 0,1
--remove_file $MYSQLTEST_VARDIR/master-data/test/t1.MYD; --remove_file $MYSQLTEST_VARDIR/master-data/test/t1.MYD;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment