mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Fixed memory leak in DROP DATABASE when using RAID tables (Bug #2882)
This commit is contained in:
@@ -78,3 +78,14 @@ RENAME TABLE T2 TO T1;
|
||||
SHOW TABLES LIKE "T1";
|
||||
SELECT * from T1;
|
||||
DROP TABLE T1;
|
||||
|
||||
#
|
||||
# Test problem with temporary tables (Bug #2858)
|
||||
#
|
||||
|
||||
create table T1 (EVENT_ID int auto_increment primary key, LOCATION char(20));
|
||||
insert into T1 values (NULL,"Mic-4"),(NULL,"Mic-5"),(NULL,"Mic-6");
|
||||
SELECT LOCATION FROM T1 WHERE EVENT_ID=2 UNION ALL SELECT LOCATION FROM T1 WHERE EVENT_ID=3;
|
||||
SELECT LOCATION FROM T1 WHERE EVENT_ID=2 UNION ALL SELECT LOCATION FROM T1 WHERE EVENT_ID=3;
|
||||
SELECT LOCATION FROM T1 WHERE EVENT_ID=2 UNION ALL SELECT LOCATION FROM T1 WHERE EVENT_ID=3;
|
||||
drop table T1;
|
||||
|
||||
Reference in New Issue
Block a user