diff --git a/storage/ndb/src/ndbapi/TransporterFacade.hpp b/storage/ndb/src/ndbapi/TransporterFacade.hpp index e75c5930614..2d47a2febf8 100644 --- a/storage/ndb/src/ndbapi/TransporterFacade.hpp +++ b/storage/ndb/src/ndbapi/TransporterFacade.hpp @@ -321,7 +321,7 @@ TransporterFacade::unlock_mutex() inline unsigned Ndb_cluster_connection_impl::get_connect_count() const { - return TransporterFacade::instance()->theClusterMgr->m_connect_count; + return m_transporter_facade->theClusterMgr->m_connect_count; } inline