mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 03:17:20 +02:00
Create 'main' test directory and move 't' and 'r' there
This commit is contained in:
parent
ab1941266c
commit
a7abddeffa
2114 changed files with 75 additions and 77 deletions
16
mysql-test/main/temp_table_frm.test
Normal file
16
mysql-test/main/temp_table_frm.test
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#
|
||||
# MDEV-4260 Don't create frm files for temporary tables
|
||||
#
|
||||
|
||||
# Ensure we don't overflow the internal heap table size in the join
|
||||
set @@session.max_heap_table_size=16*1024*1024;
|
||||
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/ #sql*
|
||||
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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue