Commit ef23f429 authored by joreland@mysql.com's avatar joreland@mysql.com

bug#10330 - linking with ndb fails

  changes to handling of new/delete cxa_pure_virtual has changed in mysys
  remove "ndb"'s own impl. as they are no longer needed as we link mysys at all places
parent 3be81d42
...@@ -2,6 +2,6 @@ ...@@ -2,6 +2,6 @@
/** /**
* GCC linking problem... * GCC linking problem...
*/ */
#ifdef DEFINE_CXA_PURE_VIRTUAL #if 0
extern "C" { int __cxa_pure_virtual() { return 0;} } extern "C" { int __cxa_pure_virtual() { return 0;} }
#endif #endif
...@@ -6,7 +6,7 @@ extern "C" { ...@@ -6,7 +6,7 @@ extern "C" {
void (* ndb_new_handler)() = 0; void (* ndb_new_handler)() = 0;
} }
#ifdef USE_MYSYS_NEW #if 0
void *operator new (size_t sz) void *operator new (size_t sz)
{ {
......
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