mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-19713 Remove big_tables system variable
mark big_tables deprecated, the server can put temp tables on disk as needed avoiding "table full" errors. in case someone would really need to force a tmp table to be created on disk from the start and for testing allow tmp_memory_table_size to be set to 0. fix tests to use that instead (and add a test that it actually works). make sure in-memory TREE size limit is never 0 (it's [ab]using tmp_memory_table_size at the moment) remove few sys_vars.*_basic tests
This commit is contained in:
@ -429,12 +429,12 @@ show status like "subquery_cache%";
|
||||
drop table t1;
|
||||
|
||||
--echo #test of big_tables switch and outer table reference in subquery with grouping
|
||||
set big_tables=1;
|
||||
set tmp_memory_table_size=0; # force on-disk tmp table
|
||||
CREATE TABLE t1 (a INT PRIMARY KEY, b INT);
|
||||
INSERT INTO t1 VALUES (1,1),(2,1),(3,2),(4,2),(5,3),(6,3);
|
||||
SELECT (SELECT t1_outer.a FROM t1 AS t1_inner GROUP BY b LIMIT 1) FROM t1 AS t1_outer;
|
||||
drop table t1;
|
||||
set big_tables=0;
|
||||
set tmp_memory_table_size=default;
|
||||
|
||||
--echo #test of function reference to outer query
|
||||
set local group_concat_max_len=400;
|
||||
|
Reference in New Issue
Block a user