Commit a7464118 authored by kostja@bodhi.(none)'s avatar kostja@bodhi.(none)

Bug#27430 "Crash in subquery code when in PS and table DDL changed

after PREPARE"
Update test results after a merge with the main tree: the new minimum for 
the table definition cache is 256.
parent 6ae3bca9
SET @start_value = @@global.table_definition_cache; SET @start_value = @@global.table_definition_cache;
SELECT @start_value; SELECT @start_value;
@start_value @start_value
128 256
'#--------------------FN_DYNVARS_019_01------------------------#' '#--------------------FN_DYNVARS_019_01------------------------#'
SET @@global.table_definition_cache = 100; SET @@global.table_definition_cache = 100;
Warnings:
Warning 1292 Truncated incorrect table_definition_cache value: '100'
SET @@global.table_definition_cache = DEFAULT; SET @@global.table_definition_cache = DEFAULT;
SELECT @@global.table_definition_cache; SELECT @@global.table_definition_cache;
@@global.table_definition_cache @@global.table_definition_cache
128 256
'#---------------------FN_DYNVARS_019_02-------------------------#' '#---------------------FN_DYNVARS_019_02-------------------------#'
SET @@global.table_definition_cache = DEFAULT; SET @@global.table_definition_cache = DEFAULT;
SELECT @@global.table_definition_cache = 128; SELECT @@global.table_definition_cache = 128;
@@global.table_definition_cache = 128 @@global.table_definition_cache = 128
1 0
'#--------------------FN_DYNVARS_019_03------------------------#' '#--------------------FN_DYNVARS_019_03------------------------#'
SET @@global.table_definition_cache = 1; SET @@global.table_definition_cache = 1;
Warnings:
Warning 1292 Truncated incorrect table_definition_cache value: '1'
SELECT @@global.table_definition_cache; SELECT @@global.table_definition_cache;
@@global.table_definition_cache @@global.table_definition_cache
1 256
SET @@global.table_definition_cache = 2; SET @@global.table_definition_cache = 2;
Warnings:
Warning 1292 Truncated incorrect table_definition_cache value: '2'
SELECT @@global.table_definition_cache; SELECT @@global.table_definition_cache;
@@global.table_definition_cache @@global.table_definition_cache
2 256
SET @@global.table_definition_cache = 524287; SET @@global.table_definition_cache = 524287;
SELECT @@global.table_definition_cache; SELECT @@global.table_definition_cache;
@@global.table_definition_cache @@global.table_definition_cache
...@@ -36,13 +42,13 @@ Warnings: ...@@ -36,13 +42,13 @@ Warnings:
Warning 1292 Truncated incorrect table_definition_cache value: '0' Warning 1292 Truncated incorrect table_definition_cache value: '0'
SELECT @@global.table_definition_cache; SELECT @@global.table_definition_cache;
@@global.table_definition_cache @@global.table_definition_cache
1 256
SET @@global.table_definition_cache = -1024; SET @@global.table_definition_cache = -1024;
Warnings: Warnings:
Warning 1292 Truncated incorrect table_definition_cache value: '0' Warning 1292 Truncated incorrect table_definition_cache value: '0'
SELECT @@global.table_definition_cache; SELECT @@global.table_definition_cache;
@@global.table_definition_cache @@global.table_definition_cache
1 256
SET @@global.table_definition_cache = 524289; SET @@global.table_definition_cache = 524289;
Warnings: Warnings:
Warning 1292 Truncated incorrect table_definition_cache value: '524289' Warning 1292 Truncated incorrect table_definition_cache value: '524289'
...@@ -73,17 +79,21 @@ WHERE VARIABLE_NAME='table_definition_cache'; ...@@ -73,17 +79,21 @@ WHERE VARIABLE_NAME='table_definition_cache';
1 1
'#---------------------FN_DYNVARS_019_07----------------------#' '#---------------------FN_DYNVARS_019_07----------------------#'
SET @@global.table_definition_cache = TRUE; SET @@global.table_definition_cache = TRUE;
Warnings:
Warning 1292 Truncated incorrect table_definition_cache value: '1'
SELECT @@global.table_definition_cache; SELECT @@global.table_definition_cache;
@@global.table_definition_cache @@global.table_definition_cache
1 256
SET @@global.table_definition_cache = FALSE; SET @@global.table_definition_cache = FALSE;
Warnings: Warnings:
Warning 1292 Truncated incorrect table_definition_cache value: '0' Warning 1292 Truncated incorrect table_definition_cache value: '0'
SELECT @@global.table_definition_cache; SELECT @@global.table_definition_cache;
@@global.table_definition_cache @@global.table_definition_cache
1 256
'#---------------------FN_DYNVARS_019_08----------------------#' '#---------------------FN_DYNVARS_019_08----------------------#'
SET @@global.table_definition_cache = 5; SET @@global.table_definition_cache = 5;
Warnings:
Warning 1292 Truncated incorrect table_definition_cache value: '5'
SELECT @@table_definition_cache = @@global.table_definition_cache; SELECT @@table_definition_cache = @@global.table_definition_cache;
@@table_definition_cache = @@global.table_definition_cache @@table_definition_cache = @@global.table_definition_cache
1 1
...@@ -99,4 +109,4 @@ ERROR 42S22: Unknown column 'table_definition_cache' in 'field list' ...@@ -99,4 +109,4 @@ ERROR 42S22: Unknown column 'table_definition_cache' in 'field list'
SET @@global.table_definition_cache = @start_value; SET @@global.table_definition_cache = @start_value;
SELECT @@global.table_definition_cache; SELECT @@global.table_definition_cache;
@@global.table_definition_cache @@global.table_definition_cache
128 256
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment