Details
-
Bug
-
Status: Confirmed (View Workflow)
-
Minor
-
Resolution: Unresolved
-
10.6, 10.11
-
None
Description
MariaDB [test]> CREATE OR REPLACE TABLE x (x INT); |
Query OK, 0 rows affected (0.024 sec) |
 |
MariaDB [test]> CREATE TEMPORARY TABLE x LIKE x; |
ERROR 1066 (42000): Not unique table/alias: 'x' |
Do not confuse with error 1050 (Table already exists), which doesn't apply in this case because a temporary table can have the same name as a base table. Error 1066 is about invalid syntax.