mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Removed depricated optimizer_search_depth.
This commit is contained in:
@ -10,7 +10,6 @@ SELECT @start_session_value;
|
||||
SET @@global.optimizer_search_depth = 100;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect optimizer_search_depth value: '100'
|
||||
Warning 1287 'optimizer-search-depth=63' is deprecated and will be removed in a future release. Please use a search depth less than 63 instead
|
||||
SET @@global.optimizer_search_depth = DEFAULT;
|
||||
SELECT @@global.optimizer_search_depth;
|
||||
@@global.optimizer_search_depth
|
||||
@ -18,7 +17,6 @@ SELECT @@global.optimizer_search_depth;
|
||||
SET @@session.optimizer_search_depth = 200;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect optimizer_search_depth value: '200'
|
||||
Warning 1287 'optimizer-search-depth=63' is deprecated and will be removed in a future release. Please use a search depth less than 63 instead
|
||||
SET @@session.optimizer_search_depth = DEFAULT;
|
||||
SELECT @@session.optimizer_search_depth;
|
||||
@@session.optimizer_search_depth
|
||||
@ -47,10 +45,10 @@ SELECT @@global.optimizer_search_depth;
|
||||
62
|
||||
SET @@global.optimizer_search_depth = 63;
|
||||
Warnings:
|
||||
Warning 1287 'optimizer-search-depth=63' is deprecated and will be removed in a future release. Please use a search depth less than 63 instead
|
||||
Warning 1292 Truncated incorrect optimizer_search_depth value: '63'
|
||||
SELECT @@global.optimizer_search_depth;
|
||||
@@global.optimizer_search_depth
|
||||
63
|
||||
62
|
||||
'#--------------------FN_DYNVARS_116_04-------------------------#'
|
||||
SET @@session.optimizer_search_depth = 0;
|
||||
SELECT @@session.optimizer_search_depth;
|
||||
@ -66,18 +64,17 @@ SELECT @@session.optimizer_search_depth;
|
||||
62
|
||||
SET @@session.optimizer_search_depth = 63;
|
||||
Warnings:
|
||||
Warning 1287 'optimizer-search-depth=63' is deprecated and will be removed in a future release. Please use a search depth less than 63 instead
|
||||
Warning 1292 Truncated incorrect optimizer_search_depth value: '63'
|
||||
SELECT @@session.optimizer_search_depth;
|
||||
@@session.optimizer_search_depth
|
||||
63
|
||||
62
|
||||
'#------------------FN_DYNVARS_116_05-----------------------#'
|
||||
SET @@global.optimizer_search_depth = 64;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect optimizer_search_depth value: '64'
|
||||
Warning 1287 'optimizer-search-depth=63' is deprecated and will be removed in a future release. Please use a search depth less than 63 instead
|
||||
SELECT @@global.optimizer_search_depth;
|
||||
@@global.optimizer_search_depth
|
||||
63
|
||||
62
|
||||
SET @@global.optimizer_search_depth = -1;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect optimizer_search_depth value: '-1'
|
||||
@ -87,27 +84,25 @@ SELECT @@global.optimizer_search_depth;
|
||||
SET @@global.optimizer_search_depth = 65536;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect optimizer_search_depth value: '65536'
|
||||
Warning 1287 'optimizer-search-depth=63' is deprecated and will be removed in a future release. Please use a search depth less than 63 instead
|
||||
SELECT @@global.optimizer_search_depth;
|
||||
@@global.optimizer_search_depth
|
||||
63
|
||||
62
|
||||
SET @@global.optimizer_search_depth = 65530.34;
|
||||
ERROR 42000: Incorrect argument type to variable 'optimizer_search_depth'
|
||||
SELECT @@global.optimizer_search_depth;
|
||||
@@global.optimizer_search_depth
|
||||
63
|
||||
62
|
||||
SET @@global.optimizer_search_depth = test;
|
||||
ERROR 42000: Incorrect argument type to variable 'optimizer_search_depth'
|
||||
SELECT @@global.optimizer_search_depth;
|
||||
@@global.optimizer_search_depth
|
||||
63
|
||||
62
|
||||
SET @@session.optimizer_search_depth = 64;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect optimizer_search_depth value: '64'
|
||||
Warning 1287 'optimizer-search-depth=63' is deprecated and will be removed in a future release. Please use a search depth less than 63 instead
|
||||
SELECT @@session.optimizer_search_depth;
|
||||
@@session.optimizer_search_depth
|
||||
63
|
||||
62
|
||||
SET @@session.optimizer_search_depth = -2;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect optimizer_search_depth value: '-2'
|
||||
@ -119,15 +114,14 @@ ERROR 42000: Incorrect argument type to variable 'optimizer_search_depth'
|
||||
SET @@session.optimizer_search_depth = 65550;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect optimizer_search_depth value: '65550'
|
||||
Warning 1287 'optimizer-search-depth=63' is deprecated and will be removed in a future release. Please use a search depth less than 63 instead
|
||||
SELECT @@session.optimizer_search_depth;
|
||||
@@session.optimizer_search_depth
|
||||
63
|
||||
62
|
||||
SET @@session.optimizer_search_depth = test;
|
||||
ERROR 42000: Incorrect argument type to variable 'optimizer_search_depth'
|
||||
SELECT @@session.optimizer_search_depth;
|
||||
@@session.optimizer_search_depth
|
||||
63
|
||||
62
|
||||
'#------------------FN_DYNVARS_116_06-----------------------#'
|
||||
SELECT @@global.optimizer_search_depth = VARIABLE_VALUE
|
||||
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
|
||||
|
Reference in New Issue
Block a user