1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +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:
Anel Husakovic
2023-06-07 11:49:01 +02:00
committed by Sergei Golubchik
parent 1c052e9011
commit 0b7d1748ad
17 changed files with 576 additions and 2 deletions

View File

@ -329,6 +329,7 @@ i
1
SHOW TABLES;
Tables_in_temp_db
temp_t1
DROP TABLE temp_t1;
#
# Create and drop a temporary table.