summaryrefslogtreecommitdiff
path: root/support-files
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2009-10-16 19:44:58 +0400
committerSergey Petrunya <psergey@askmonty.org>2009-10-16 19:44:58 +0400
commit52cb2344606f1f0c151fc612862820c0863cf90e (patch)
treea664a8fd779b901c8beea84557c3f13bce1aeef3 /support-files
parent26c31ed688a1abb52d8a6fb40602eb2e5d3decb0 (diff)
downloadmariadb-git-52cb2344606f1f0c151fc612862820c0863cf90e.tar.gz
MBUG#452116: MariaDB: mysql_install_db causes server segfault
- Increase thread_stack_size on 64-bit platforms to 240K, so that it can accomodate the HA_CHECK structure which is 130K.
Diffstat (limited to 'support-files')
-rw-r--r--support-files/my-innodb-heavy-4G.cnf.sh2
-rw-r--r--support-files/my-small.cnf.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/support-files/my-innodb-heavy-4G.cnf.sh b/support-files/my-innodb-heavy-4G.cnf.sh
index e9390a5b9e8..305a6ee3006 100644
--- a/support-files/my-innodb-heavy-4G.cnf.sh
+++ b/support-files/my-innodb-heavy-4G.cnf.sh
@@ -174,7 +174,7 @@ default-storage-engine = MYISAM
# memory, while if you use your own stack hungry UDF functions or your
# OS requires more stack for some operations, you might need to set this
# to a higher value.
-thread_stack = 192K
+thread_stack = 240K
# Set the default transaction isolation level. Levels available are:
# READ-UNCOMMITTED, READ-COMMITTED, REPEATABLE-READ, SERIALIZABLE
diff --git a/support-files/my-small.cnf.sh b/support-files/my-small.cnf.sh
index 3bfa08d0bd1..7dce9e60ed9 100644
--- a/support-files/my-small.cnf.sh
+++ b/support-files/my-small.cnf.sh
@@ -34,7 +34,7 @@ sort_buffer_size = 64K
read_buffer_size = 256K
read_rnd_buffer_size = 256K
net_buffer_length = 2K
-thread_stack = 128K
+thread_stack = 240K
# Don't listen on a TCP/IP port at all. This can be a security enhancement,
# if all processes that need to connect to mysqld run on the same host.