List:Commits« Previous MessageNext Message »
From:Tor Didriksen Date:February 16 2011 1:48pm
Subject:bzr commit into mysql-5.5 branch (tor.didriksen:3330) Bug#11766729
View as plain text  
#At file:///export/home/didrik/repo/5.5/ based on revid:tor.didriksen@stripped

 3330 Tor Didriksen	2011-02-16
      Bug #11766729 59906: 5.5 DEBUG BUILDS BROKEN BY EXTRA/COMP_ERR.C
     @ extra/comp_err.c
        Initialize er_last to zero (which is the correct value if we never enter the loop).

    modified:
      extra/comp_err.c
=== modified file 'extra/comp_err.c'
--- a/extra/comp_err.c	2010-07-20 19:30:10 +0000
+++ b/extra/comp_err.c	2011-02-16 13:48:30 +0000
@@ -219,14 +219,13 @@ static void print_escaped_string(FILE *f
 
 static int create_header_files(struct errors *error_head)
 {
-  uint er_last;
+  uint er_last= 0;
   FILE *er_definef, *sql_statef, *er_namef;
   struct errors *tmp_error;
   struct message *er_msg;
   const char *er_text;
 
   DBUG_ENTER("create_header_files");
-  LINT_INIT(er_last);
 
   if (!(er_definef= my_fopen(HEADERFILE, O_WRONLY, MYF(MY_WME))))
   {


Attachment: [text/bzr-bundle] bzr/tor.didriksen@oracle.com-20110216134830-8mrsgtqlwawx8ik6.bundle
Thread
bzr commit into mysql-5.5 branch (tor.didriksen:3330) Bug#11766729Tor Didriksen16 Feb