ndb - bug#14935 : Correct error to TUX on node alloc fail. There is more bugs with db full.
This commit is contained in:
parent
c0850425e5
commit
1f7b86bf83
@ -63,7 +63,7 @@ Dbtup::tuxAllocNode(Signal* signal,
|
|||||||
if ((ptr= alloc_fix_rec(fragPtr.p, tablePtr.p, &key, &frag_page_id)) == 0)
|
if ((ptr= alloc_fix_rec(fragPtr.p, tablePtr.p, &key, &frag_page_id)) == 0)
|
||||||
{
|
{
|
||||||
ljam();
|
ljam();
|
||||||
ndbrequire(terrorCode != 0);
|
terrorCode = ZMEM_NOMEM_ERROR; // caller sets error
|
||||||
return terrorCode;
|
return terrorCode;
|
||||||
}
|
}
|
||||||
pageId= key.m_page_no;
|
pageId= key.m_page_no;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user