summaryrefslogtreecommitdiff
path: root/mysql-test/r/greedy_optimizer.result
diff options
context:
space:
mode:
authorRoy Lyseng <roy.lyseng@sun.com>2010-03-01 17:31:02 +0100
committerRoy Lyseng <roy.lyseng@sun.com>2010-03-01 17:31:02 +0100
commitb71eb4192c961465872f226d71a5569b2334d369 (patch)
treef9f7d9c57f50ce46409ecddbcdab82c14e18f122 /mysql-test/r/greedy_optimizer.result
parentde39f438e39214cb43e0bc2a52c2f210c6218bf8 (diff)
downloadmariadb-git-b71eb4192c961465872f226d71a5569b2334d369.tar.gz
WL#5252: Deprecate --optimizer_search_depth=63
Add deprecation warning when variable optimizer_search_depth is given the value 63. mysql-test/r/greedy_optimizer.result Updated with warning text. mysql-test/r/mysqld--help-notwin.result Updated with warning from mysqld --help --verbose. mysql-test/r/mysqld--help-win.result Updated with warning from mysqld --help --verbose. sql/sys_vars.cc Added an update check function to the constructor invocation for the optimizer_search_depth variable. The function emits a warning message for the value 63.
Diffstat (limited to 'mysql-test/r/greedy_optimizer.result')
-rw-r--r--mysql-test/r/greedy_optimizer.result2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/r/greedy_optimizer.result b/mysql-test/r/greedy_optimizer.result
index c0012c297d1..be4b06396a8 100644
--- a/mysql-test/r/greedy_optimizer.result
+++ b/mysql-test/r/greedy_optimizer.result
@@ -115,6 +115,8 @@ select @@optimizer_prune_level;
@@optimizer_prune_level
1
set 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
select @@optimizer_search_depth;
@@optimizer_search_depth
63