~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/buf/buf0buddy.c

Merge Revision revid:svn-v4:16c675df-0fcb-4bc9-8058-dcc011a37293:branches/zip:6860 from MySQL InnoDB

Original revid:svn-v4:16c675df-0fcb-4bc9-8058-dcc011a37293:branches/zip:6860

Original Authors: jyang
Original commit message:
branches/zip: This is patch from Inaam that uses red-black tree
to speed up insertions into the flush_list and thus the recovery
process. The patch has been tested by Nokia.

Show diffs side-by-side

added added

removed removed

Lines of Context:
391
391
                UT_LIST_ADD_FIRST(list, buf_pool->zip_clean, dpage);
392
392
        }
393
393
 
 
394
        UNIV_MEM_INVALID(bpage, sizeof *bpage);
 
395
 
394
396
        mutex_exit(&buf_pool_zip_mutex);
395
397
        return(TRUE);
396
398
}