List:Commits« Previous MessageNext Message »
From:Jonas Oreland Date:November 3 2009 2:38pm
Subject:bzr commit into mysql-5.1-telco-7.0 branch (jonas:3187) Bug#48441
View as plain text  
#At file:///home/jonas/src/telco-6.4/ based on revid:magnus.blaudd@stripped

 3187 Jonas Oreland	2009-11-03
      ndb - bug#48441 - fix so that failing seizeChunk sets p-value to 0 (and fix error code)

    modified:
      storage/ndb/src/kernel/vm/ArrayPool.hpp
      storage/ndb/src/ndbapi/ndberror.c
=== modified file 'storage/ndb/src/kernel/vm/ArrayPool.hpp'
--- a/storage/ndb/src/kernel/vm/ArrayPool.hpp	2009-09-25 13:38:00 +0000
+++ b/storage/ndb/src/kernel/vm/ArrayPool.hpp	2009-11-03 14:38:26 +0000
@@ -1098,6 +1098,7 @@ ArrayPool<T>::seizeChunk(Uint32 & cnt, P
     return true;
   }
 
+  ptr.p = NULL;
   return false;
 }
 

=== modified file 'storage/ndb/src/ndbapi/ndberror.c'
--- a/storage/ndb/src/ndbapi/ndberror.c	2009-10-01 22:40:32 +0000
+++ b/storage/ndb/src/ndbapi/ndberror.c	2009-11-03 14:38:26 +0000
@@ -168,7 +168,7 @@ ErrorBundle ErrorCodes[] = {
    * TemporaryResourceError
    */
   { 217,  DMEC, TR, "217" },
-  { 218,  DMEC, TR, "218" },
+  { 218,  DMEC, TR, "Out of LongMessageBuffer" },
   { 219,  DMEC, TR, "219" },
   { 233,  DMEC, TR,
     "Out of operation records in transaction coordinator (increase MaxNoOfConcurrentOperations)" },


Attachment: [text/bzr-bundle] bzr/jonas@mysql.com-20091103143826-2qcgzs8v1lyp3o19.bundle
Thread
bzr commit into mysql-5.1-telco-7.0 branch (jonas:3187) Bug#48441Jonas Oreland3 Nov