List:Commits« Previous MessageNext Message »
From:Bjorn Munch Date:October 20 2010 9:30am
Subject:bzr commit into mysql-5.1-mtr branch (bjorn.munch:2944)
View as plain text  
#At file:///home/bm136801/my/lowcase-51/ based on revid:bjorn.munch@stripped

 2944 Bjorn Munch	2010-10-20
      48863 followup: move an array declaration out from within if block

    modified:
      client/mysqltest.cc
=== modified file 'client/mysqltest.cc'
--- a/client/mysqltest.cc	2010-10-20 09:22:08 +0000
+++ b/client/mysqltest.cc	2010-10-20 09:30:50 +0000
@@ -9781,6 +9781,7 @@ void free_pointer_array(POINTER_ARRAY *p
 void replace_dynstr_append_mem(DYNAMIC_STRING *ds,
                                const char *val, int len)
 {
+  char lower[512];
 #ifdef __WIN__
   fix_win_paths(val, len);
 #endif
@@ -9788,7 +9789,6 @@ void replace_dynstr_append_mem(DYNAMIC_S
   if (display_result_lower) 
   {
     /* Convert to lower case, and do this first */
-    char lower[512];
     char *c= lower;
     for (const char *v= val;  *v;  v++)
       *c++= my_tolower(charset_info, *v);


Attachment: [text/bzr-bundle] bzr/bjorn.munch@oracle.com-20101020093050-ye2ponzyfpc7w6pi.bundle
Thread
bzr commit into mysql-5.1-mtr branch (bjorn.munch:2944) Bjorn Munch20 Oct