mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
62d1e3bf67
for internal temporary tables: don't use realpath(),
and let them overwrite whatever orphan temp files might've
left in the tmpdir (see main.error_simulation test).
for user created temporary tables: we have to use realpath(),
(see 3a726ab6e2
, remember DATA/INDEX DIRECTORY). don't allow
them to overwrite existing files.
This bug was reported by RACK911 LABS
13 lines
371 B
Text
13 lines
371 B
Text
create table d1 (a int);
|
|
create temporary table t1 (a int);
|
|
create temporary table t2 (a int);
|
|
Got one of the listed errors
|
|
create temporary table t3 (a int) engine=Aria;
|
|
Got one of the listed errors
|
|
select * from information_schema.columns where table_schema='test';
|
|
Got one of the listed errors
|
|
flush tables;
|
|
select * from d1;
|
|
a
|
|
drop temporary table t1;
|
|
drop table d1;
|