List:Commits« Previous MessageNext Message »
From:Tor Didriksen Date:February 16 2011 2:01pm
Subject:bzr push into mysql-5.5 branch (tor.didriksen:3329 to 3330) Bug#11766729
View as plain text  
 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
 3329 Tor Didriksen	2011-02-16
      Bug #11751935 42969: PLEASE ADD A MANIFEST TO EACH BUILD
      post-push fix: make it work in out-of-source builds.
     @ mysql-test/mysql-test-run.pl
        Set MYSQL_BINDIR, to be used by tests.
     @ mysql-test/t/file_contents.test
        Use MYSQL_BINDIR, which is different from MYSQL_LIBDIR for out-of-source builds.

    modified:
      mysql-test/mysql-test-run.pl
      mysql-test/t/file_contents.test
=== 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))))
   {

No bundle (reason: useless for push emails).
Thread
bzr push into mysql-5.5 branch (tor.didriksen:3329 to 3330) Bug#11766729Tor Didriksen16 Feb