From: tomas Date: April 27 2007 11:50am Subject: bk commit into 5.1 tree (tomas:1.2500) BUG#24951 List-Archive: http://lists.mysql.com/commits/25600 X-Bug: 24951 Message-Id: <20070427115039.CBEE13AD1E3@whalegate.ndb.mysql.com> Below is the list of changes that have just been committed into a local 5.1 repository of tomas. When tomas does a push these changes will be propagated to the main repository and, within 24 hours after the push, to the public repository. For information on how to access the public repository see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html ChangeSet@stripped, 2007-04-27 13:50:33+02:00, tomas@stripped +1 -0 Bug#24951, Data nodes died(lgman) during creating tables - reverting wrong part in patch storage/ndb/src/kernel/blocks/lgman.cpp@stripped, 2007-04-27 13:50:31+02:00, tomas@stripped +0 -5 Bug#24951, Data nodes died(lgman) during creating tables - reverting wrong part in patch # This is a BitKeeper patch. What follows are the unified diffs for the # set of deltas contained in the patch. The rest of the patch, the part # that BitKeeper cares about, is below these diffs. # User: tomas # Host: whalegate.ndb.mysql.com # Root: /home/tomas/mysql-5.1-single-user --- 1.26/storage/ndb/src/kernel/blocks/lgman.cpp 2007-04-27 12:23:37 +02:00 +++ 1.27/storage/ndb/src/kernel/blocks/lgman.cpp 2007-04-27 13:50:31 +02:00 @@ -1961,11 +1961,6 @@ if(m_logfile_group_hash.find(ptr, key) && ptr.p->m_free_file_words >= (words + (4 * File_formats::UNDO_PAGE_WORDS))) { - Uint32 group_pages = - ((ptr.p->m_free_file_words + File_formats::UNDO_PAGE_WORDS - 1)/ File_formats::UNDO_PAGE_WORDS); - if(group_pages > compute_free_file_pages(ptr)) - return 1501; - ptr.p->m_free_file_words -= words; validate_logfile_group(ptr, "alloc_log_space"); return 0;