1. 28 May, 2009 1 commit
  2. 27 May, 2009 5 commits
    • marko's avatar
      branches/zip: Merge revisions 4994:5148 from branches/5.1: · 87cf4a3a
      marko authored
        ------------------------------------------------------------------------
        r5126 | vasil | 2009-05-26 16:57:12 +0300 (Tue, 26 May 2009) | 9 lines
      
        branches/5.1:
      
        Preparation for the fix of
        Bug#45097 Hang during recovery, redo logs for doublewrite buffer pages
      
        Non-functional change: move FSP_* macros from fsp0fsp.h to a new file
        fsp0types.h. This is needed in order to be able to use FSP_EXTENT_SIZE
        in mtr0log.ic.
        ------------------------------------------------------------------------
        r5127 | vasil | 2009-05-26 17:05:43 +0300 (Tue, 26 May 2009) | 9 lines
      
        branches/5.1:
      
        Preparation for the fix of
        Bug#45097 Hang during recovery, redo logs for doublewrite buffer pages
      
        Do not include unnecessary headers mtr0log.h and fut0lst.h in trx0sys.h
        and include fsp0fsp.h just before it is needed. This is needed in order
        to be able to use TRX_SYS_SPACE in mtr0log.ic.
        ------------------------------------------------------------------------
        r5128 | vasil | 2009-05-26 17:26:37 +0300 (Tue, 26 May 2009) | 7 lines
      
        branches/5.1:
      
        Fix Bug#45097 Hang during recovery, redo logs for doublewrite buffer pages
      
        Do not write redo log for the pages in the doublewrite buffer. Also, do not
        make a dummy change to the page because this is not needed.
        ------------------------------------------------------------------------
      87cf4a3a
    • marko's avatar
      branches/zip: ibuf0ibuf.c: Improve a comment. · 245bd821
      marko authored
      245bd821
    • marko's avatar
      branches/zip: buf0buf.h, Doxyfile: Fix the Doxygen translation. · ef99c401
      marko authored
      @defgroup is for source code modules, not for field groups.
      Tell Doxygen to expand the UT_LIST declarations.
      ef99c401
    • marko's avatar
      branches/zip: Add Doxyfile. · 8c0fad1c
      marko authored
      8c0fad1c
    • marko's avatar
      branches/zip: Add some Doxygen @return comments. · 6f9a1e17
      marko authored
      6f9a1e17
  3. 26 May, 2009 1 commit
  4. 25 May, 2009 10 commits
  5. 21 May, 2009 1 commit
  6. 20 May, 2009 18 commits
  7. 19 May, 2009 4 commits
    • marko's avatar
      62718d0e
    • marko's avatar
      branches/zip: Write PAGE_MAX_TRX_ID to the redo log. Otherwise, · 9649c3e3
      marko authored
      transactions that are started before the rollback of incomplete
      transactions has finished may have an inconsistent view of the
      secondary indexes.
      
      dict_index_is_sec_or_ibuf(): Auxiliary function for controlling
      updates and checks of PAGE_MAX_TRX_ID: check whether an index is a
      secondary index or the insert buffer tree.
      
      page_set_max_trx_id(), page_update_max_trx_id(),
      lock_rec_insert_check_and_lock(),
      lock_sec_rec_modify_check_and_lock(), btr_cur_ins_lock_and_undo(),
      btr_cur_upd_lock_and_undo(): Add the parameter mtr.
      
      page_set_max_trx_id(): Allow mtr to be NULL.  When mtr==NULL, do not
      attempt to write to the redo log.  This only occurs when creating a
      page or reorganizing a compressed page.  In these cases, the
      PAGE_MAX_TRX_ID will be set correctly during the application of redo
      log records, even though there is no explicit log record about it.
      
      btr_discard_only_page_on_level(): Preserve PAGE_MAX_TRX_ID.  This
      function should be unreachable, though.
      
      btr_cur_pessimistic_update(): Update PAGE_MAX_TRX_ID.
      
      Add some assertions for checking that PAGE_MAX_TRX_ID is set on all
      secondary index leaf pages.
      
      rb://115 tested by Michael, fixes Issue #211
      9649c3e3
    • marko's avatar
      5c5817cc
    • marko's avatar
      c0d9e7b9