Commit ab0df1eb authored by unknown's avatar unknown

make function static

parent 5e047ec9
...@@ -2839,7 +2839,7 @@ send_report: ...@@ -2839,7 +2839,7 @@ send_report:
data[5]= apply_gci >> 32; data[5]= apply_gci >> 32;
data[6]= latest_gci & ~(Uint32)0; data[6]= latest_gci & ~(Uint32)0;
data[7]= latest_gci >> 32; 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 #ifdef VM_TRACE
assert(m_total_alloc >= m_free_data_sz); assert(m_total_alloc >= m_free_data_sz);
#endif #endif
......
...@@ -21,6 +21,6 @@ private: ...@@ -21,6 +21,6 @@ private:
friend class NdbEventBuffer; friend class NdbEventBuffer;
Ndb_internal() {} Ndb_internal() {}
virtual ~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); } { 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