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
@@ -343,6 +343,7 @@ TEST-INFO: SLAVE: The INSERT is committed (Succeeded)
|
||||
connection master;
|
||||
SHOW TABLES LIKE 't2';
|
||||
Tables_in_mysqltest1 (t2)
|
||||
t23
|
||||
connection slave;
|
||||
SHOW TABLES LIKE 't2';
|
||||
Tables_in_mysqltest1 (t2)
|
||||
|
@@ -243,6 +243,11 @@ Warnings:
|
||||
Warning 1196 Some non-transactional changed tables couldn't be rolled back
|
||||
SHOW TABLES;
|
||||
Tables_in_test
|
||||
tt7
|
||||
tt6
|
||||
tt5
|
||||
tt4
|
||||
tt3
|
||||
t1
|
||||
t2
|
||||
t3
|
||||
|
@@ -6,6 +6,7 @@ CREATE TABLE t2 (a int);
|
||||
CREATE TEMPORARY TABLE t2 (a int, b int);
|
||||
SHOW TABLES;
|
||||
Tables_in_test
|
||||
t2
|
||||
t1
|
||||
t2
|
||||
connection slave;
|
||||
@@ -28,6 +29,7 @@ connection master;
|
||||
CREATE TEMPORARY TABLE t2 (a int, b int);
|
||||
SHOW TABLES;
|
||||
Tables_in_test
|
||||
t2
|
||||
t1
|
||||
t2
|
||||
connection slave;
|
||||
|
Reference in New Issue
Block a user