mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +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
@@ -387,6 +387,8 @@ ENGINE = <other_engine_type>
|
||||
AS SELECT 1;
|
||||
SELECT table_name, table_type FROM information_schema.tables
|
||||
WHERE table_name = 't1_my_tablex';
|
||||
table_name t1_my_tablex
|
||||
table_type TEMPORARY
|
||||
DROP TEMPORARY TABLE test.t1_my_tablex;
|
||||
CREATE TABLE db_datadict.t1_my_tablex
|
||||
ENGINE = <engine_type> AS
|
||||
|
Reference in New Issue
Block a user