~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

Viewing changes to storage/innobase/buf/buf0flu.c

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2010-06-21 15:31:05 UTC
  • mfrom: (1.1.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: james.westby@ubuntu.com-20100621153105-pbbz3t6nyrf9t2zq
Tags: upstream-5.1.48
ImportĀ upstreamĀ versionĀ 5.1.48

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
              || (ut_dulint_cmp((UT_LIST_GET_FIRST(buf_pool->flush_list))
56
56
                                ->oldest_modification,
57
57
                                block->oldest_modification) <= 0));
 
58
        UNIV_MEM_ASSERT_RW(block->frame, UNIV_PAGE_SIZE);
58
59
 
59
60
        UT_LIST_ADD_FIRST(flush_list, buf_pool->flush_list, block);
60
61
 
75
76
        buf_block_t*    b;
76
77
 
77
78
        ut_ad(mutex_own(&(buf_pool->mutex)));
 
79
        UNIV_MEM_ASSERT_RW(block->frame, UNIV_PAGE_SIZE);
78
80
 
79
81
        prev_b = NULL;
80
82
        b = UT_LIST_GET_FIRST(buf_pool->flush_list);
423
425
                goto try_again;
424
426
        }
425
427
 
 
428
        UNIV_MEM_ASSERT_RW(block->frame, UNIV_PAGE_SIZE);
426
429
        ut_memcpy(trx_doublewrite->write_buf
427
430
                  + UNIV_PAGE_SIZE * trx_doublewrite->first_free,
428
431
                  block->frame, UNIV_PAGE_SIZE);