summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorPraveenkumar Hulakund <praveenkumar.hulakund@oracle.com>2015-07-03 16:56:13 +0530
committerPraveenkumar Hulakund <praveenkumar.hulakund@oracle.com>2015-07-03 16:56:13 +0530
commit2ac01ca6606a300dc7c043affccb9f850284a5e7 (patch)
tree79bcee57e58b62a3e7cc33615203e8d7f562e4f1 /mysql-test
parent7ce304dff0e268304c8c13708ff9a3f034cce50a (diff)
downloadmariadb-git-2ac01ca6606a300dc7c043affccb9f850284a5e7.tar.gz
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.
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/suite/sys_vars/r/query_cache_min_res_unit_basic_32.result10
1 files changed, 5 insertions, 5 deletions
diff --git a/mysql-test/suite/sys_vars/r/query_cache_min_res_unit_basic_32.result b/mysql-test/suite/sys_vars/r/query_cache_min_res_unit_basic_32.result
index c408a39fdc0..9dc4a0d5062 100644
--- a/mysql-test/suite/sys_vars/r/query_cache_min_res_unit_basic_32.result
+++ b/mysql-test/suite/sys_vars/r/query_cache_min_res_unit_basic_32.result
@@ -50,7 +50,7 @@ Warnings:
Warning 1292 Truncated incorrect query_cache_min_res_unit value: '4294967296'
SELECT @@global.query_cache_min_res_unit;
@@global.query_cache_min_res_unit
-0
+4294967288
SET @@global.query_cache_min_res_unit = 511;
SELECT @@global.query_cache_min_res_unit;
@@global.query_cache_min_res_unit
@@ -71,23 +71,23 @@ Warnings:
Warning 1292 Truncated incorrect query_cache_min_res_unit value: '42949672950'
SELECT @@global.query_cache_min_res_unit;
@@global.query_cache_min_res_unit
-0
+4294967288
SET @@global.query_cache_min_res_unit = ON;
ERROR 42000: Incorrect argument type to variable 'query_cache_min_res_unit'
SELECT @@global.query_cache_min_res_unit;
@@global.query_cache_min_res_unit
-0
+4294967288
SET @@global.query_cache_min_res_unit = 'test';
ERROR 42000: Incorrect argument type to variable 'query_cache_min_res_unit'
SELECT @@global.query_cache_min_res_unit;
@@global.query_cache_min_res_unit
-0
+4294967288
'#-------------------FN_DYNVARS_132_05----------------------------#'
SET @@session.query_cache_min_res_unit = 0;
ERROR HY000: Variable 'query_cache_min_res_unit' is a GLOBAL variable and should be set with SET GLOBAL
SELECT @@query_cache_min_res_unit;
@@query_cache_min_res_unit
-0
+4294967288
'#----------------------FN_DYNVARS_132_06------------------------#'
SELECT @@global.query_cache_min_res_unit = VARIABLE_VALUE
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES