| 1 |
# |
| 2 |
# The test checks whether a temporary table |
| 3 |
# can be created with the engine under test. |
| 4 |
# |
| 5 |
|
| 6 |
--source have_engine.inc |
| 7 |
|
| 8 |
--disable_warnings |
| 9 |
DROP TABLE IF EXISTS t1; |
| 10 |
--enable_warnings |
| 11 |
|
| 12 |
# This is a base table which we want to mask |
| 13 |
CREATE TABLE t1 (c CHAR(1)) ENGINE=MyISAM; |
| 14 |
|
| 15 |
--let $temporary = 1 |
| 16 |
--source create_table.inc |
| 17 |
if ($mysql_errname) |
| 18 |
{ |
| 19 |
--let $my_last_stmt = $create_statement |
| 20 |
--let $functionality = Temporary tables |
| 21 |
--source unexpected_result.inc |
| 22 |
} |
| 23 |
if (!$mysql_errname) |
| 24 |
{ |
| 25 |
--source mask_engine.inc |
| 26 |
SHOW CREATE TABLE t1; |
| 27 |
|
| 28 |
DROP TEMPORARY TABLE t1; |
| 29 |
} |
| 30 |
DROP TABLE t1; |
| 31 |
|
| 32 |
--source cleanup_engine.inc |
| 33 |
|