From: Date: April 9 2008 6:42pm Subject: bk commit into 5.1 tree (msvensson:1.2569) BUG#35943 List-Archive: http://lists.mysql.com/commits/45149 X-Bug: 35943 Message-Id: <20080409164210.962C230E870@pilot> 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-09 18:42:05+02:00, msvensson@stripped +1 -0 Bug#35943 Failure to create mysql.ndb_schema shoudl not be logged if tabe already exist sql/ha_ndbcluster_binlog.cc@stripped, 2008-04-09 18:42:02+02:00, msvensson@stripped +4 -2 Add Ndb error code 721 to list of errors that should not be printed to error log diff -Nrup a/sql/ha_ndbcluster_binlog.cc b/sql/ha_ndbcluster_binlog.cc --- a/sql/ha_ndbcluster_binlog.cc 2008-03-25 18:29:51 +01:00 +++ b/sql/ha_ndbcluster_binlog.cc 2008-04-09 18:42:02 +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);