1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Fix for bug #21476: stack overflow crashes server; error-message stack reservation too small

Increase STACK_BUFF_ALLOC to avoid execution_constants test failure on the hpita2.
This commit is contained in:
ramil/ram@mysql.com/ramil.myoffice.izhnet.ru
2007-05-22 11:16:29 +05:00
parent b3a84ddd89
commit f1ae9793a7

View File

@@ -179,7 +179,7 @@ MY_LOCALE *my_locale_by_number(uint number);
#define STACK_MIN_SIZE 12000 // Abort if less stack during eval.
#define STACK_MIN_SIZE_FOR_OPEN 1024*80
#define STACK_BUFF_ALLOC 256 // For stack overrun checks
#define STACK_BUFF_ALLOC 352 // For stack overrun checks
#ifndef MYSQLD_NET_RETRY_COUNT
#define MYSQLD_NET_RETRY_COUNT 10 // Abort read after this many int.
#endif