~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/fsp/fsp0fsp.c

  • Committer: Brian Aker
  • Date: 2010-11-17 21:25:31 UTC
  • mto: (1939.1.1 quick)
  • mto: This revision was merged to the branch mainline in revision 1940.
  • Revision ID: brian@tangent.org-20101117212531-va13j4xh43zuma68
First pass though barriers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
869
869
                return;
870
870
        }
871
871
 
872
 
        memset(page, 0, UNIV_PAGE_SIZE);
 
872
        UNIV_MEM_INVALID(page, UNIV_PAGE_SIZE);
873
873
        mach_write_to_4(page + FIL_PAGE_OFFSET, buf_block_get_page_no(block));
 
874
        memset(page + FIL_PAGE_LSN, 0, 8);
874
875
        mach_write_to_4(page + FIL_PAGE_ARCH_LOG_NO_OR_SPACE_ID,
875
876
                        buf_block_get_space(block));
 
877
        memset(page + UNIV_PAGE_SIZE - FIL_PAGE_END_LSN_OLD_CHKSUM, 0, 8);
876
878
}
877
879
 
878
880
#ifndef UNIV_HOTBACKUP