| 1 |
if ($ddl_drop_schema_tables) { |
| 2 |
DROP TABLE t; |
| 3 |
|
| 4 |
if ($ddl_recreate_schema_tables) { |
| 5 |
--let $ddl_op = CREATE TABLE |
| 6 |
--let $ddl_stmt = (col1 INT PRIMARY KEY, col2 int, col3 varchar(64), col4 BLOB) |
| 7 |
--eval $ddl_op t1 $ddl_stmt |
| 8 |
--eval $ddl_op t2 $ddl_stmt |
| 9 |
} |
| 10 |
|
| 11 |
--source ../include/drop_schema.inc |
| 12 |
--let $dropped_schema_tables = 1 |
| 13 |
} |
| 14 |
|
| 15 |
if($ddl_drop_tables) { |
| 16 |
DROP TABLE t0; |
| 17 |
DROP TABLE t01; |
| 18 |
if (!$dropped_schema_tables) { |
| 19 |
DROP TABLE t1; |
| 20 |
DROP TABLE t2; |
| 21 |
} |
| 22 |
DROP TABLE t3; |
| 23 |
DROP TABLE t11; |
| 24 |
DROP TABLE t21; |
| 25 |
} |
| 26 |
|
| 27 |
if ($ddl_drop_renamed_tables) { |
| 28 |
--eval DROP TABLE t0$ddl_table_extn_show |
| 29 |
--eval DROP TABLE t01$ddl_table_extn_show |
| 30 |
--eval DROP TABLE t1$ddl_table_extn_show |
| 31 |
--eval DROP TABLE t2$ddl_table_extn_show |
| 32 |
--eval DROP TABLE t3$ddl_table_extn_show |
| 33 |
--eval DROP TABLE t11$ddl_table_extn_show |
| 34 |
--eval DROP TABLE t21$ddl_table_extn_show |
| 35 |
} |