Commit 78fb71b0 authored by unknown's avatar unknown
Browse files

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


ndb/src/common/portlib/gcc.cpp:
  remove ndb __cxa_pure_virtual
ndb/src/common/util/new.cpp:
  remove "ndb" new/delete
parent 7b4374f6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2,6 +2,6 @@
/**
 * GCC linking problem...
 */
#ifdef DEFINE_CXA_PURE_VIRTUAL
#if 0
extern "C" { int __cxa_pure_virtual() { return 0;} }
#endif
+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ extern "C" {
  void (* ndb_new_handler)() = 0;
}

#ifdef USE_MYSYS_NEW
#if 0

void *operator new (size_t sz)
{