Description:
I received a "table doesn't exist" error after executing show indexes:
mysql> create temporary table a(a int, index(a));
Query OK, 0 rows affected (0.11 sec)
mysql> insert into a values('1'),('2'),('3'),('4'),('5');
Query OK, 5 rows affected (0.02 sec)
Records: 5 Duplicates: 0 Warnings: 0
mysql> show index from a;
ERROR 1146 (42S02): Table 'test.a' doesn't exist
mysql> show index from a\G;
ERROR 1146 (42S02): Table 'test.a' doesn't exist
ERROR:
No query specified
mysql> analyze table a;
+--------+---------+----------+----------+
| Table | Op | Msg_type | Msg_text |
+--------+---------+----------+----------+
| test.a | analyze | status | OK |
+--------+---------+----------+----------+
1 row in set (0.02 sec)
mysql>
How to repeat:
see above
Description: I received a "table doesn't exist" error after executing show indexes: mysql> create temporary table a(a int, index(a)); Query OK, 0 rows affected (0.11 sec) mysql> insert into a values('1'),('2'),('3'),('4'),('5'); Query OK, 5 rows affected (0.02 sec) Records: 5 Duplicates: 0 Warnings: 0 mysql> show index from a; ERROR 1146 (42S02): Table 'test.a' doesn't exist mysql> show index from a\G; ERROR 1146 (42S02): Table 'test.a' doesn't exist ERROR: No query specified mysql> analyze table a; +--------+---------+----------+----------+ | Table | Op | Msg_type | Msg_text | +--------+---------+----------+----------+ | test.a | analyze | status | OK | +--------+---------+----------+----------+ 1 row in set (0.02 sec) mysql> How to repeat: see above