mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-6066: Merge new defaults from 5.6 and 5.7 (defaults changed, QC can be stopped with no-zero size)
This commit is contained in:
committed by
Sergei Golubchik
parent
21daa7b929
commit
e3982cead2
@ -35,7 +35,7 @@ SELECT COUNT(@@GLOBAL.Host_Cache_Size);
|
||||
--echo 1 Expected
|
||||
|
||||
#set @Default_host_cache_size=(select if(if(@@global.max_connections<500,128+@@global.max_connections,128+@@global.max_connections+floor((@@global.max_connections-500)/20))>2000,2000,if(@@global.max_connections<500,128+@@global.max_connections,128+@@global.max_connections+floor((@@global.max_connections-500)/20))));
|
||||
set @Default_host_cache_size=128;
|
||||
set @Default_host_cache_size=279;
|
||||
|
||||
select @@global.Host_Cache_Size=@Default_host_cache_size;
|
||||
--echo 1 Expected
|
||||
|
Reference in New Issue
Block a user