List:Commits« Previous MessageNext Message »
From:Maitrayi Sabaratnam Date:February 24 2011 12:07pm
Subject:bzr commit into mysql-5.1-telco-6.3 branch (msabaratnam:3393) Bug#11762867
View as plain text  
#At file:///export/home2/tmp/maitrayi/mysql-repo/repo-6.3/mysql-5.1-telco-6.3-bug53106/ based on revid:jonas@stripped

 3393 Maitrayi Sabaratnam	2011-02-24
      Bug#11762867 - 55515: DEFAULT VALUES FOR INITLOGFILEGROUP CAUSE ERROR 2350: 'INVALID CONFIGURAT

    modified:
      storage/ndb/src/kernel/blocks/lgman.cpp
=== modified file 'storage/ndb/src/kernel/blocks/lgman.cpp'
--- a/storage/ndb/src/kernel/blocks/lgman.cpp	2011-01-30 20:42:21 +0000
+++ b/storage/ndb/src/kernel/blocks/lgman.cpp	2011-02-24 12:06:30 +0000
@@ -981,19 +981,13 @@ Lgman::alloc_logbuffer_memory(Ptr<Logfil
     }
   }
 
-  if(2*pages > requested)
+  if(pages)
   {
-    // less than half allocated
+    // Could not allocate all of the requested memory.
     free_logbuffer_memory(ptr);
     return false;
   }
   
-  if(pages != 0)
-  {
-    warningEvent("Allocated %d pages for log buffer space, logfile_group: %d"
-		 " , requested %d pages", 
-		 (requested-pages), ptr.p->m_logfile_group_id, requested);
-  }
 #if defined VM_TRACE || defined ERROR_INSERT
   ndbout << "DD lgman: fg id:" << ptr.p->m_logfile_group_id << " undo buffer pages/bytes:" << (requested-pages) << "/" << (requested-pages)*File_formats::NDB_PAGE_SIZE << endl;
 #endif


Attachment: [text/bzr-bundle] bzr/msabaratnam@mysql.com-20110224120630-umv5s30z66ctivb8.bundle
Thread
bzr commit into mysql-5.1-telco-6.3 branch (msabaratnam:3393) Bug#11762867Maitrayi Sabaratnam24 Feb