mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +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:
@ -515,7 +515,7 @@ insert into tmp select * from t3;
|
||||
insert into t3 select * from tmp;
|
||||
alter table t3 add t2nr int not null auto_increment primary key first;
|
||||
drop table tmp;
|
||||
SET BIG_TABLES=1;
|
||||
set tmp_memory_table_size=0;
|
||||
select distinct concat(fld3," ",fld3) as namn from t2,t3 where t2.fld1=t3.t2nr order by namn limit 10;
|
||||
namn
|
||||
Abraham Abraham
|
||||
@ -528,7 +528,7 @@ ammonium ammonium
|
||||
analyzable analyzable
|
||||
animals animals
|
||||
animized animized
|
||||
SET BIG_TABLES=0;
|
||||
set tmp_memory_table_size=default;
|
||||
select distinct concat(fld3," ",fld3) from t2,t3 where t2.fld1=t3.t2nr order by fld3 limit 10;
|
||||
concat(fld3," ",fld3)
|
||||
Abraham Abraham
|
||||
@ -565,7 +565,7 @@ attendants 1
|
||||
bedlam 1
|
||||
bedpost 1
|
||||
boasted 1
|
||||
SET BIG_TABLES=1;
|
||||
set tmp_memory_table_size=0;
|
||||
select distinct fld3,count(*) from t2 group by companynr,fld3 limit 10;
|
||||
fld3 count(*)
|
||||
affixed 1
|
||||
@ -578,7 +578,7 @@ attendants 1
|
||||
bedlam 1
|
||||
bedpost 1
|
||||
boasted 1
|
||||
SET BIG_TABLES=0;
|
||||
set tmp_memory_table_size=default;
|
||||
select distinct fld3,repeat("a",length(fld3)),count(*) from t2 group by companynr,fld3 limit 100,10;
|
||||
fld3 repeat("a",length(fld3)) count(*)
|
||||
circus aaaaaa 1
|
||||
|
Reference in New Issue
Block a user