List:Commits« Previous MessageNext Message »
From:msvensson Date:April 25 2008 10:56am
Subject:bk commit into 5.1 tree (msvensson:1.2577) BUG#35943
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 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@stripped, 2008-04-25 10:56:34+02:00, msvensson@stripped +1 -0
  Bug#35943 Failure to create mysql.ndb_schema should not be logged if tabe already exist

  sql/ha_ndbcluster_binlog.cc@stripped, 2008-04-25 10:56:31+02:00, msvensson@stripped
+4 -2
    Add Ndb error code 721 to list of errors that should not be printed
    to error log. Server will retry later.

diff -Nrup a/sql/ha_ndbcluster_binlog.cc b/sql/ha_ndbcluster_binlog.cc
--- a/sql/ha_ndbcluster_binlog.cc	2008-02-26 17:26:40 +01:00
+++ b/sql/ha_ndbcluster_binlog.cc	2008-04-25 10:56:31 +02:00
@@ -815,9 +815,10 @@ static int ndbcluster_create_ndb_apply_s
                    " end_pos BIGINT UNSIGNED NOT NULL, "
                    " PRIMARY KEY USING HASH (server_id) ) ENGINE=NDB CHARACTER SET
latin1");
 
-  const int no_print_error[5]= {ER_TABLE_EXISTS_ERROR,
+  const int no_print_error[6]= {ER_TABLE_EXISTS_ERROR,
                                 701,
                                 702,
+                                721, // Table already exist
                                 4009,
                                 0}; // do not print error 701 etc
   run_query(thd, buf, end, no_print_error, TRUE);
@@ -876,9 +877,10 @@ static int ndbcluster_create_schema_tabl
                    " type INT UNSIGNED NOT NULL,"
                    " PRIMARY KEY USING HASH (db,name) ) ENGINE=NDB CHARACTER SET
latin1");
 
-  const int no_print_error[5]= {ER_TABLE_EXISTS_ERROR,
+  const int no_print_error[6]= {ER_TABLE_EXISTS_ERROR,
                                 701,
                                 702,
+                                721, // Table already exist
                                 4009,
                                 0}; // do not print error 701 etc
   run_query(thd, buf, end, no_print_error, TRUE);
Thread
bk commit into 5.1 tree (msvensson:1.2577) BUG#35943msvensson25 Apr