List:Commits« Previous MessageNext Message »
From:Marc Alff Date:May 16 2011 8:48pm
Subject:bzr commit into mysql-5.5 branch (marc.alff:3384)
View as plain text  
#At file:///Users/malff/BZR_TREE/mysql-5.5-bug12552516/ based on revid:marc.alff@stripped

 3384 Marc Alff	2011-05-16
      Fixed code review comments

    modified:
      mysys/lf_alloc-pin.c
=== modified file 'mysys/lf_alloc-pin.c'
--- a/mysys/lf_alloc-pin.c	2011-05-13 16:04:49 +0000
+++ b/mysys/lf_alloc-pin.c	2011-05-16 20:47:59 +0000
@@ -344,8 +344,7 @@ static void _lf_pinbox_real_free(LF_PINS
 #ifdef HAVE_ALLOCA
   if (pins->stack_ends_here != NULL)
   {
-    int alloca_size;
-    alloca_size= sizeof(void *)*LF_PINBOX_PINS*npins;
+    int alloca_size= sizeof(void *)*LF_PINBOX_PINS*npins;
     /* create a sorted list of pinned addresses, to speed up searches */
     if (available_stack_size(&pinbox, *pins->stack_ends_here) > alloca_size)
     {


Attachment: [text/bzr-bundle] bzr/marc.alff@oracle.com-20110516204759-aonuy2s6mahq7qk1.bundle
Thread
bzr commit into mysql-5.5 branch (marc.alff:3384) Marc Alff16 May