mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-12459 Get temporary tables visible to the IS.tables for current connection
Additionally fixes the bugs uncovered in: - `MDEV-28332: Alter on temporary table causes ER_TABLE_EXISTS_ERROR note` Since there is no `warning` issued by shadowing of base table, this MDEV is irrelevant. Keeping for review purposes and for future development in case shadowing is going to be implemented - `MDEV-28334: SHOW TABLE STATUS shows all temporary tables ignoring database and conditions` - `MDEV-28453: SHOW commands are inconsistent for temporary tables` Reviewed by: <monty@mariadb.org>, <vicentiu@mariadb.org>
This commit is contained in:
committed by
Sergei Golubchik
parent
1c052e9011
commit
0b7d1748ad
@ -9,6 +9,7 @@ CREATE OR REPLACE TABLE t1 LIKE tmp;
|
||||
SET debug_dbug=@old_debug;
|
||||
SHOW TABLES;
|
||||
Tables_in_test
|
||||
tmp
|
||||
t1
|
||||
show create table t1;
|
||||
Table Create Table
|
||||
|
Reference in New Issue
Block a user