Bug#24951, Data nodes died(lgman) during creating tables

- reverting wrong part in patch
This commit is contained in:
tomas@whalegate.ndb.mysql.com 2007-04-27 13:50:33 +02:00
parent f53e1929a2
commit 10be9bf531

View file

@ -1961,11 +1961,6 @@ Lgman::alloc_log_space(Uint32 ref, Uint32 words)
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;