summaryrefslogtreecommitdiff
path: root/sql/ha_ndbcluster.cc
diff options
context:
space:
mode:
authorunknown <tomas@whalegate.ndb.mysql.com>2007-11-01 15:08:00 +0100
committerunknown <tomas@whalegate.ndb.mysql.com>2007-11-01 15:08:00 +0100
commitde0780e00a184620f1831a5035fded5f314312d4 (patch)
tree05333557b7b6c5398ed08a6d7364424e181386b1 /sql/ha_ndbcluster.cc
parentc67d7e67d283e4e3c0153e8e4c5c345bbb5cafd3 (diff)
downloadmariadb-git-de0780e00a184620f1831a5035fded5f314312d4.tar.gz
Bug #31484 Cluster LOST_EVENTS entry not added to binlog on mysqld restart.
Diffstat (limited to 'sql/ha_ndbcluster.cc')
-rw-r--r--sql/ha_ndbcluster.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_ndbcluster.cc b/sql/ha_ndbcluster.cc
index a799dd4841b..2294d836854 100644
--- a/sql/ha_ndbcluster.cc
+++ b/sql/ha_ndbcluster.cc
@@ -618,7 +618,7 @@ bool ha_ndbcluster::get_error_message(int error,
DBUG_ENTER("ha_ndbcluster::get_error_message");
DBUG_PRINT("enter", ("error: %d", error));
- Ndb *ndb= get_ndb();
+ Ndb *ndb= check_ndb_in_thd(current_thd);
if (!ndb)
DBUG_RETURN(FALSE);