Details
Description
All of the following statements should work and not produce any errors.
CREATE TEMPORARY TABLE t1(id INT); |
INSERT INTO t1 VALUES (1); |
SELECT * FROM t1; |
SHOW CREATE TABLE t1; |
The SHOW CREATE TABLE fails as it doesn't detect that the table in question is a temporary one.