From: Date: August 7 2008 12:26pm Subject: bzr commit into mysql-5.1-telco-6.2 branch (Martin.Skold:2644) Bug#36658 List-Archive: http://lists.mysql.com/commits/51085 X-Bug: 36658 Message-Id: <200808071026.m77AQnaQ023869@quadfish.ndb.mysql.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit #At file:///home/marty/MySQL/mysql-5.1-telco-6.2/ 2644 Martin Skold 2008-08-07 bug#36658 trigger is deleted when rename table: Ignore missing table. modified: sql/ha_ndbcluster_binlog.cc === modified file 'sql/ha_ndbcluster_binlog.cc' --- a/sql/ha_ndbcluster_binlog.cc 2008-08-07 05:29:44 +0000 +++ b/sql/ha_ndbcluster_binlog.cc 2008-08-07 10:26:39 +0000 @@ -1888,10 +1888,11 @@ ndb_binlog_thread_handle_schema_event(TH } if (! ndbcluster_check_if_local_table(schema->db, schema->name)) { - const int no_print_error[1]= {0}; + const int no_print_error[1]= + {ER_BAD_TABLE_ERROR}; /* ignore missing table */ run_query(thd, schema->query, schema->query + schema->query_length, - no_print_error, // /* print error */ + no_print_error, // /* don't print error */ TRUE); // /* don't binlog the query */ /* binlog dropping table after any table operations */