1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-09 22:24:09 +03:00

Fixed failing test temp_table_frm

The problem was that the internal temporary table created
for information_schema overflow to MyISAM because it has
a row width of > 3000 characters, which filled the in memory
temporary tables.
Fix was to increase size for the heap table.
This commit is contained in:
Monty
2014-09-24 23:52:17 +03:00
parent f5d845426e
commit 3f2d9a902e
2 changed files with 4 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
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

View File

@@ -1,6 +1,9 @@
#
# 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