#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 */
| Thread |
|---|
| • bzr commit into mysql-5.1-telco-6.2 branch (Martin.Skold:2644) Bug#36658 | Martin Skold | 7 Aug |