From 9b3e7bd02fc0a8f4cc9cb7b2d1cecb1aaf106dc7 Mon Sep 17 00:00:00 2001 From: "istruewing@chilla.local" <> Date: Thu, 19 Oct 2006 13:42:26 +0200 Subject: [PATCH] Bug#21476 - Lost Database Connection During Query Backport from 5.1. Raised STACK_MIN_SIZE for Debian GNU/Linux Sid, Linux kernel 2.6.16, gcc version 3.3.6 (Debian 1:3.3.6-13), libc6-dbg 2.3.6.ds1-4, Pentium4 (x86), BUILD/compile-pentium-debug-max Raised about 100 Bytes above the required minimum. --- sql/mysql_priv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/mysql_priv.h b/sql/mysql_priv.h index 381f2a989b5..48d638bee9c 100644 --- a/sql/mysql_priv.h +++ b/sql/mysql_priv.h @@ -141,7 +141,7 @@ MY_LOCALE *my_locale_by_name(const char *name); Feel free to raise this by the smallest amount you can to get the "execution_constants" test to pass. */ -#define STACK_MIN_SIZE 9336 // Abort if less stack during eval. +#define STACK_MIN_SIZE 10788 // Abort if less stack during eval. #define STACK_MIN_SIZE_FOR_OPEN 1024*80 #define STACK_BUFF_ALLOC 256 // For stack overrun checks