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

« back to all changes in this revision

Viewing changes to storage/innodb_plugin/page/page0zip.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:
571
571
        /* Traverse the list of stored records in the collation order,
572
572
        starting from the first user record. */
573
573
 
574
 
        rec = page + PAGE_NEW_INFIMUM, TRUE;
 
574
        rec = page + PAGE_NEW_INFIMUM;
575
575
 
576
576
        i = 0;
577
577
 
3117
3117
        temp_page_zip in a debugger when running valgrind --db-attach. */
3118
3118
        VALGRIND_GET_VBITS(page, temp_page, UNIV_PAGE_SIZE);
3119
3119
        UNIV_MEM_ASSERT_RW(page, UNIV_PAGE_SIZE);
 
3120
# if UNIV_WORD_SIZE == 4
3120
3121
        VALGRIND_GET_VBITS(page_zip, &temp_page_zip, sizeof temp_page_zip);
 
3122
        /* On 32-bit systems, there is no padding in page_zip_des_t.
 
3123
        On other systems, Valgrind could complain about uninitialized
 
3124
        pad bytes. */
3121
3125
        UNIV_MEM_ASSERT_RW(page_zip, sizeof *page_zip);
 
3126
# endif
3122
3127
        VALGRIND_GET_VBITS(page_zip->data, temp_page,
3123
3128
                           page_zip_get_size(page_zip));
3124
3129
        UNIV_MEM_ASSERT_RW(page_zip->data, page_zip_get_size(page_zip));