~drizzle-trunk/drizzle/development

Viewing all changes in revision 1819.5.77.

[patch 077/129] Merge patch for revision 1876 from InnoDB SVN:
revno: 1876
revision-id: svn-v4:16c675df-0fcb-4bc9-8058-dcc011a37293:branches/zip:5995
parent: svn-v4:16c675df-0fcb-4bc9-8058-dcc011a37293:branches/zip:5994
committer: marko
timestamp: Mon 2009-09-28 07:52:25 +0000
message:
  branches/zip: Do not write to PAGE_INDEX_ID after page creation,
  not even when restoring an uncompressed page after a compression failure.
  
  btr_page_reorganize_low(): On compression failure, do not restore
  those page header fields that should not be affected by the
  reorganization.  Instead, compare the fields.
  
  page_zip_decompress(): Add the parameter ibool all, for copying all
  page header fields.  Pass the parameter all=TRUE on block read
  completion, redo log application, and page_zip_validate(); pass
  all=FALSE in all other cases.
  
  page_zip_reorganize(): Do not restore the uncompressed page on
  failure.  It will be restored (to pre-modification state) by the
  caller anyway.
  
  rb://167, Issue #346
modified:
  ChangeLog                      2425@16c675df-0fcb-4bc9-8058-dcc011a37293:branches%2Fzip%2FChangeLog
  btr/btr0btr.c                  2@16c675df-0fcb-4bc9-8058-dcc011a37293:trunk%2Fbtr%2Fbtr0btr.c
  buf/buf0buf.c                  2@16c675df-0fcb-4bc9-8058-dcc011a37293:trunk%2Fbuf%2Fbuf0buf.c
  include/page0page.h            2@16c675df-0fcb-4bc9-8058-dcc011a37293:trunk%2Finclude%2Fpage0page.h
  include/page0zip.h             10@16c675df-0fcb-4bc9-8058-dcc011a37293:branches%2Fzip%2Finclude%2Fpage0zip.h
  page/page0cur.c                2@16c675df-0fcb-4bc9-8058-dcc011a37293:trunk%2Fpage%2Fpage0cur.c
  page/page0page.c               2@16c675df-0fcb-4bc9-8058-dcc011a37293:trunk%2Fpage%2Fpage0page.c
  page/page0zip.c                10@16c675df-0fcb-4bc9-8058-dcc011a37293:branches%2Fzip%2Fpage%2Fpage0zip.c
diff:
=== modified file 'ChangeLog'

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: