mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
14 lines
581 B
Text
14 lines
581 B
Text
|
#
|
||
|
# MDEV-4260 Don't create frm files for temporary tables
|
||
|
#
|
||
|
create table t1 select * from information_schema.session_status where variable_name like 'Opened%';
|
||
|
create temporary table t2 (a int) engine=memory;
|
||
|
select variable_name, session_status.variable_value - t1.variable_value
|
||
|
from information_schema.session_status join t1 using (variable_name);
|
||
|
let $tmpdir= `select @@tmpdir`;
|
||
|
--list_files $tmpdir/
|
||
|
truncate table t2;
|
||
|
select variable_name, session_status.variable_value - t1.variable_value
|
||
|
from information_schema.session_status join t1 using (variable_name);
|
||
|
drop table t1;
|