List:Commits« Previous MessageNext Message »
From:ramil Date:May 22 2007 6:16am
Subject:bk commit into 5.0 tree (ramil:1.2496) BUG#21476
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of ram. When ram does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2007-05-22 11:16:29+05:00, ramil@stripped +1 -0
  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.

  sql/mysql_priv.h@stripped, 2007-05-22 11:16:28+05:00, ramil@stripped +1 -1
    Fix for bug #21476: stack overflow crashes server; error-message stack reservation too small
      - due to the failing execution_constants test on the hpita2, 
        increase STACK_BUFF_ALLOC, that is used in the Item_func::fix_fields() to 
        allocate on the stack a "dummy" buffer large enough for the corresponding exec.

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	ramil
# Host:	ramil.myoffice.izhnet.ru
# Root:	/home/ram/work/b21476/b21476.5.0

--- 1.452/sql/mysql_priv.h	2007-05-22 11:16:33 +05:00
+++ 1.453/sql/mysql_priv.h	2007-05-22 11:16:33 +05:00
@@ -179,7 +179,7 @@ MY_LOCALE *my_locale_by_number(uint numb
 #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
Thread
bk commit into 5.0 tree (ramil:1.2496) BUG#21476ramil22 May