summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorunknown <jimw@mysql.com>2005-10-10 19:39:16 -0700
committerunknown <jimw@mysql.com>2005-10-10 19:39:16 -0700
commit4c3f3bd826dc10b22ca97283a1be1bc7c29bca72 (patch)
tree3db7408070bbd65ca4887acbc22d492b0d3723ab /sql
parenta043cc536ede60274c3f493bfe3db6a96a4499ee (diff)
downloadmariadb-git-4c3f3bd826dc10b22ca97283a1be1bc7c29bca72.tar.gz
Fix minimum value of query_prealloc_size to be the same as its default. (Bug #13334)
mysql-test/r/variables.result: Add new results mysql-test/t/variables.test: Add new regression test sql/mysqld.cc: Fix minimum value of query_prealloc_size to be the same as its default.
Diffstat (limited to 'sql')
-rw-r--r--sql/mysqld.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/mysqld.cc b/sql/mysqld.cc
index a6a91ac32ee..4d5a85e3fdc 100644
--- a/sql/mysqld.cc
+++ b/sql/mysqld.cc
@@ -5280,7 +5280,8 @@ The minimum value for this variable is 4096.",
"Persistent buffer for query parsing and execution",
(gptr*) &global_system_variables.query_prealloc_size,
(gptr*) &max_system_variables.query_prealloc_size, 0, GET_ULONG,
- REQUIRED_ARG, QUERY_ALLOC_PREALLOC_SIZE, 16384, ~0L, 0, 1024, 0},
+ REQUIRED_ARG, QUERY_ALLOC_PREALLOC_SIZE, QUERY_ALLOC_PREALLOC_SIZE,
+ ~0L, 0, 1024, 0},
{"range_alloc_block_size", OPT_RANGE_ALLOC_BLOCK_SIZE,
"Allocation block size for storing ranges during optimization",
(gptr*) &global_system_variables.range_alloc_block_size,