Commit 26b1b214 authored by Mikael Ronstrom's avatar Mikael Ronstrom

Set minimum table_open_cache and table_default_cache to 400

parent c75a2653
...@@ -264,7 +264,7 @@ class Default_object_creation_ctx : public Object_creation_ctx ...@@ -264,7 +264,7 @@ class Default_object_creation_ctx : public Object_creation_ctx
#define MAX_ACCEPT_RETRY 10 // Test accept this many times #define MAX_ACCEPT_RETRY 10 // Test accept this many times
#define MAX_FIELDS_BEFORE_HASH 32 #define MAX_FIELDS_BEFORE_HASH 32
#define USER_VARS_HASH_SIZE 16 #define USER_VARS_HASH_SIZE 16
#define TABLE_OPEN_CACHE_MIN 64 #define TABLE_OPEN_CACHE_MIN 400
#define TABLE_OPEN_CACHE_DEFAULT 400 #define TABLE_OPEN_CACHE_DEFAULT 400
#define TABLE_DEF_CACHE_DEFAULT 400 #define TABLE_DEF_CACHE_DEFAULT 400
/** /**
...@@ -280,7 +280,7 @@ class Default_object_creation_ctx : public Object_creation_ctx ...@@ -280,7 +280,7 @@ class Default_object_creation_ctx : public Object_creation_ctx
for now the only solution is to ensure that the table definition for now the only solution is to ensure that the table definition
cache can contain at least all tables of a given statement. cache can contain at least all tables of a given statement.
*/ */
#define TABLE_DEF_CACHE_MIN 256 #define TABLE_DEF_CACHE_MIN 400
/* /*
Stack reservation. Stack reservation.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment