From 070a6e7a890e5a73eb38920657c060605e520b55 Mon Sep 17 00:00:00 2001 From: Monty Date: Fri, 29 Aug 2014 14:09:51 +0300 Subject: - Changed default values of query_prealloc_size and query_alloc_block_size so that a simple query with one join would not have to call my_malloc. - Allow lower limites for query_prealloc_size for testing. - Fixed wrong initialization of trans_alloc_block_size --- sql/sql_const.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sql/sql_const.h') diff --git a/sql/sql_const.h b/sql/sql_const.h index 2cbc616559d..18a74d8579e 100644 --- a/sql/sql_const.h +++ b/sql/sql_const.h @@ -148,9 +148,9 @@ #define MYSQLD_NET_RETRY_COUNT 10 ///< Abort read after this many int. #endif -#define QUERY_ALLOC_BLOCK_SIZE 8192 -#define QUERY_ALLOC_PREALLOC_SIZE 8192 -#define TRANS_ALLOC_BLOCK_SIZE 4096 +#define QUERY_ALLOC_BLOCK_SIZE 16384 +#define QUERY_ALLOC_PREALLOC_SIZE 24576 +#define TRANS_ALLOC_BLOCK_SIZE 8192 #define TRANS_ALLOC_PREALLOC_SIZE 4096 #define RANGE_ALLOC_BLOCK_SIZE 4096 #define ACL_ALLOC_BLOCK_SIZE 1024 -- cgit v1.2.1