From a0dbb6ffb32410725594e82dfa1cce2d892b610c Mon Sep 17 00:00:00 2001 From: "mskold/marty@mysql.com/linux.site" <> Date: Wed, 15 Nov 2006 11:38:22 +0100 Subject: [PATCH] bug #21495 Alter table from x engine to ndb and back can cause issue with drop DB:added error printout to log --- sql/ha_ndbcluster_binlog.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sql/ha_ndbcluster_binlog.cc b/sql/ha_ndbcluster_binlog.cc index 350c031d6a2..8eae4a676d1 100644 --- a/sql/ha_ndbcluster_binlog.cc +++ b/sql/ha_ndbcluster_binlog.cc @@ -1843,9 +1843,11 @@ ndb_binlog_thread_handle_schema_event(THD *thd, Ndb *ndb, } else { - /* - Database contained local tables, leave it - */ + /* Database contained local tables, leave it */ + sql_print_error("NDB binlog: Skipping drop database '%s' since it contained local tables " + "binlog schema event '%s' from node %d. ", + schema->db, schema->query, + schema->node_id); log_query= 1; } break;