List:Commits« Previous MessageNext Message »
From:msvensson Date:January 10 2006 2:56pm
Subject:bk commit into 5.0 tree (msvensson:1.2028)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of msvensson. When msvensson 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
  1.2028 06/01/10 15:56:30 msvensson@neptunus.(none) +1 -0
  Fix for crashing mysqltest

  client/mysqltest.c
    1.192 06/01/10 15:56:24 msvensson@neptunus.(none) +1 -1
    Allocate one extra byte for string terminator in varname

# 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:	msvensson
# Host:	neptunus.(none)
# Root:	/home/msvensson/mysql/wl2930/my50-wl2930-small_fix

--- 1.191/client/mysqltest.c	2006-01-09 18:16:51 +01:00
+++ 1.192/client/mysqltest.c	2006-01-10 15:56:24 +01:00
@@ -4207,7 +4207,7 @@
     val_len = strlen(val) ;
   val_alloc_len = val_len + 16; /* room to grow */
   if (!(tmp_var=v) && !(tmp_var = (VAR*)my_malloc(sizeof(*tmp_var)
-						 + name_len, MYF(MY_WME))))
+						 + name_len+1, MYF(MY_WME))))
     die("Out of memory");
 
   tmp_var->name = (name) ? (char*) tmp_var + sizeof(*tmp_var) : 0;
Thread
bk commit into 5.0 tree (msvensson:1.2028)msvensson10 Jan