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

parent c0850425
......@@ -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;
......
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