From 1f7b86bf8372d35871b6654e2d1cc79bee8a2c8f Mon Sep 17 00:00:00 2001 From: "pekka@clam.ndb.mysql.com" <> Date: Mon, 19 Jun 2006 10:50:23 +0200 Subject: [PATCH] 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/ndb/src/kernel/blocks/dbtup/DbtupIndex.cpp b/storage/ndb/src/kernel/blocks/dbtup/DbtupIndex.cpp index b51cc02a703..878fe77d998 100644 --- a/storage/ndb/src/kernel/blocks/dbtup/DbtupIndex.cpp +++ b/storage/ndb/src/kernel/blocks/dbtup/DbtupIndex.cpp @@ -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;