Skip to content

Commit 2ac01ca

Browse files
committed
Bug#18487951 - QUERY_CACHE_MIN_RES_UNIT SET TO ZERO, CRASHES IN QUERY_CACHE::FIND_BIN
Follow up patch to fix sys_vars.query_cache_min_res_unit_basic_32 test failure.
1 parent 7ce304d commit 2ac01ca

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

mysql-test/suite/sys_vars/r/query_cache_min_res_unit_basic_32.result

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Warnings:
5050
Warning 1292 Truncated incorrect query_cache_min_res_unit value: '4294967296'
5151
SELECT @@global.query_cache_min_res_unit;
5252
@@global.query_cache_min_res_unit
53-
0
53+
4294967288
5454
SET @@global.query_cache_min_res_unit = 511;
5555
SELECT @@global.query_cache_min_res_unit;
5656
@@global.query_cache_min_res_unit
@@ -71,23 +71,23 @@ Warnings:
7171
Warning 1292 Truncated incorrect query_cache_min_res_unit value: '42949672950'
7272
SELECT @@global.query_cache_min_res_unit;
7373
@@global.query_cache_min_res_unit
74-
0
74+
4294967288
7575
SET @@global.query_cache_min_res_unit = ON;
7676
ERROR 42000: Incorrect argument type to variable 'query_cache_min_res_unit'
7777
SELECT @@global.query_cache_min_res_unit;
7878
@@global.query_cache_min_res_unit
79-
0
79+
4294967288
8080
SET @@global.query_cache_min_res_unit = 'test';
8181
ERROR 42000: Incorrect argument type to variable 'query_cache_min_res_unit'
8282
SELECT @@global.query_cache_min_res_unit;
8383
@@global.query_cache_min_res_unit
84-
0
84+
4294967288
8585
'#-------------------FN_DYNVARS_132_05----------------------------#'
8686
SET @@session.query_cache_min_res_unit = 0;
8787
ERROR HY000: Variable 'query_cache_min_res_unit' is a GLOBAL variable and should be set with SET GLOBAL
8888
SELECT @@query_cache_min_res_unit;
8989
@@query_cache_min_res_unit
90-
0
90+
4294967288
9191
'#----------------------FN_DYNVARS_132_06------------------------#'
9292
SELECT @@global.query_cache_min_res_unit = VARIABLE_VALUE
9393
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES

0 commit comments

Comments
 (0)