summaryrefslogtreecommitdiff
path: root/sql/ha_ndbcluster_binlog.cc
diff options
context:
space:
mode:
authorunknown <tomas@whalegate.ndb.mysql.com>2007-09-07 11:15:07 +0200
committerunknown <tomas@whalegate.ndb.mysql.com>2007-09-07 11:15:07 +0200
commit821abeee47be68790857abe5e0d6ee67a34a326c (patch)
treeeb79fddbffa910fcdd8252224efe22e53145c4dd /sql/ha_ndbcluster_binlog.cc
parentc626f660de47b38e3e27044b513fc73f97ff0794 (diff)
downloadmariadb-git-821abeee47be68790857abe5e0d6ee67a34a326c.tar.gz
Bug #11313 confusing/erroneous 4006 message
Diffstat (limited to 'sql/ha_ndbcluster_binlog.cc')
-rw-r--r--sql/ha_ndbcluster_binlog.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_ndbcluster_binlog.cc b/sql/ha_ndbcluster_binlog.cc
index 3d927442b93..5d5c8a26447 100644
--- a/sql/ha_ndbcluster_binlog.cc
+++ b/sql/ha_ndbcluster_binlog.cc
@@ -3082,7 +3082,7 @@ ndbcluster_handle_drop_table(Ndb *ndb, const char *event_name,
/* ToDo; handle error? */
if (share && share->op &&
share->op->getState() == NdbEventOperation::EO_EXECUTING &&
- dict->getNdbError().code != 4009)
+ dict->getNdbError().mysql_code != HA_ERR_NO_CONNECTION)
{
DBUG_ASSERT(FALSE);
DBUG_RETURN(-1);