314
314
create database mysqltest;
315
315
create table mysqltest.t3 like t1;
316
316
create temporary table t3 like mysqltest.t3;
317
318
--replace_regex /ENGINE=[a-zA-Z]+/ENGINE=DEFAULT/
320
323
--replace_regex /ENGINE=[a-zA-Z]+/ENGINE=DEFAULT/
323
327
--error ER_TABLE_EXISTS_ERROR
325
330
--error ER_TABLE_EXISTS_ERROR
326
331
create table t3 like mysqltest.t3;
328
334
create table non_existing_database.t1 like t1;
331
339
--error ER_TABLE_EXISTS_ERROR
332
340
create temporary table t3 like t1;