Commit d3d3ba7a authored by unknown's avatar unknown
Browse files

ndb - bug#14935 : Correct error to TUX on node alloc fail. There is more bugs with db full.


storage/ndb/src/kernel/blocks/dbtup/DbtupIndex.cpp:
  set ZMEM_NOMEM_ERROR correctly when TUX fails to alloc node from TUP
parent 9f8c532f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@ Dbtup::tuxAllocNode(Signal* signal,
  if ((ptr= alloc_fix_rec(fragPtr.p, tablePtr.p, &key, &frag_page_id)) == 0)
  {
    ljam();
    ndbrequire(terrorCode != 0);
    terrorCode = ZMEM_NOMEM_ERROR; // caller sets error
    return terrorCode;
  }
  pageId= key.m_page_no;