1
0
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:
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

@ -5482,6 +5482,8 @@ Warnings:
Warning 1105 Event scheduler is switched off, use SET GLOBAL event_scheduler=ON to enable it.
SHOW TABLES FROM bug25717383;
Tables_in_bug25717383
temp
one
tab
one
view
@ -5503,6 +5505,8 @@ proc
one
SHOW TABLES FROM bug25717383;
Tables_in_bug25717383
temp
one
tab
one
view