175
175
--echo End of 4.1 tests
178
# Bug #29325: create table overwrites .MYD file of other table (datadir)
180
SET SESSION keep_files_on_create = TRUE;
181
--write_file $MYSQLTEST_VARDIR/master-data/test/t1.MYD
183
--disable_abort_on_error
184
--error 1,1,ER_TABLE_EXISTS_ERROR
185
CREATE TABLE t1 (a INT) ENGINE MYISAM;
187
--remove_file $MYSQLTEST_VARDIR/master-data/test/t1.MYD
188
--enable_abort_on_error
189
SET SESSION keep_files_on_create = FALSE;
190
CREATE TABLE t1 (a INT) ENGINE MYISAM;
193
177
--echo End of 5.0 tests