summaryrefslogtreecommitdiff
path: root/sql/opt_range.cc
diff options
context:
space:
mode:
authorunknown <evgen@moonbone.local>2007-11-23 00:16:17 +0300
committerunknown <evgen@moonbone.local>2007-11-23 00:16:17 +0300
commita197c4e95ddd69cf9ebe3a6b2796a68f420c009a (patch)
treeeaa7e3b93c3c8af027faf2a6c10f6c5adfce2d38 /sql/opt_range.cc
parent0270449126f0054edc25631a9f4816d8df1f974b (diff)
downloadmariadb-git-a197c4e95ddd69cf9ebe3a6b2796a68f420c009a.tar.gz
opt_range.cc:
Fix for the bug#31048 for 64bit platforms. subselect.test, subselect.result: Corrected text case for the bug#31048. mysql-test/t/subselect.test: Corrected text case for the bug#31048. mysql-test/r/subselect.result: Corrected text case for the bug#31048. sql/opt_range.cc: Fix for the bug#31048 for 64bit platforms.
Diffstat (limited to 'sql/opt_range.cc')
-rw-r--r--sql/opt_range.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/opt_range.cc b/sql/opt_range.cc
index dbdb2b919dc..1a3c2bec621 100644
--- a/sql/opt_range.cc
+++ b/sql/opt_range.cc
@@ -1987,7 +1987,7 @@ int SQL_SELECT::test_quick_select(THD *thd, key_map keys_to_use,
KEY *key_info;
PARAM param;
- if (check_stack_overrun(thd, STACK_MIN_SIZE, buff))
+ if (check_stack_overrun(thd, 2*STACK_MIN_SIZE, buff))
DBUG_RETURN(0); // Fatal error flag is set
/* set up parameter that is passed to all functions */