make function static

parent 5556ec7c
......@@ -2839,7 +2839,7 @@ NdbEventBuffer::reportStatus()
data[5]= apply_gci >> 32;
data[6]= latest_gci & ~(Uint32)0;
data[7]= latest_gci >> 32;
Ndb_internal().send_event_report(m_ndb, data,8);
Ndb_internal::send_event_report(m_ndb, data,8);
#ifdef VM_TRACE
assert(m_total_alloc >= m_free_data_sz);
#endif
......
......@@ -21,6 +21,6 @@ private:
friend class NdbEventBuffer;
Ndb_internal() {}
virtual ~Ndb_internal() {}
int send_event_report(Ndb *ndb, Uint32 *data, Uint32 length)
static int send_event_report(Ndb *ndb, Uint32 *data, Uint32 length)
{ return ndb->theImpl->send_event_report(data, length); }
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment