1. 01 Nov, 2006 3 commits
  2. 31 Oct, 2006 2 commits
  3. 30 Oct, 2006 9 commits
  4. 27 Oct, 2006 1 commit
  5. 26 Oct, 2006 9 commits
  6. 25 Oct, 2006 4 commits
  7. 24 Oct, 2006 4 commits
  8. 23 Oct, 2006 5 commits
    • marko's avatar
      branches/zip: buf_page_get_release_on_io(), buf_page_get_gen(): · 483a5708
      marko authored
      Replace buf_frame_t* guess with buf_block_t* guess in order to avoid
      a buf_block_align() call.
      
      trx_undo_t: Replace page_t* guess_page with buf_block_t* guess_block.
      
      btr_search_t: Replace page_t* root_guess with buf_block_t* root_guess.
      483a5708
    • marko's avatar
      branches/zip: Minor cleanup. · 22015f39
      marko authored
      buf_calc_page_new_checksum(), buf_calc_page_old_checksum(),
      buf_page_is_corrupted(), buf_page_print():
      Add const qualifier to byte* parameter.
      
      page_parse_create_zip(): Remove this declaration of non-existing function.
      
      page_rec_check(), page_rec_print(), row_vers_impl_x_locked_off_kernel():
      Add const qualifier to rec_t* parameter.
      
      row_vers_old_has_index_entry(): Add const qualifier to dtuple_t* parameter.
      
      row_sel_sec_rec_is_for_blob(): Add const qualifiers.
      
      Replace some occurrences of mtr_memo_contains_page() with mtr_memo_contains().
      22015f39
    • marko's avatar
      branches/zip: row_sel_sec_rec_is_for_clust_rec(): Augment the bug fix in r918: · 839a9664
      marko authored
      After calling row_sel_sec_rec_is_for_blob(), skip the cmp_data_data()
      comparison of the incomplete prefix.
      839a9664
    • marko's avatar
      branches/zip: Minor cleanup. · 1834af76
      marko authored
      page_set_max_trx_id(): Replace page_t* parameter with buf_block_t*,
      to avoid a buf_block_align() call.
      
      Replace some occurrences of page_get_page_no() with buf_block_get_page_no().
      
      page_cur_delete_rec(): Replace buf_block_align() with page_cur_get_block().
      1834af76
    • marko's avatar
      branches/zip: Fix some bugs. · 40b401a6
      marko authored
      btr_cur_pessimistic_insert(): Remove local variable "block".  Replace
      an extraneous call to btr_cur_position() [with wrong "block", in r948]
      with a debug assertion that the cursor is positioned on the preceding
      record after the page split.
      
      btr_pcur_restore_position(): Do not use btr_pcur_get_page(), because
      the debug assertion there could fail.  This bug was introduced in r928.
      40b401a6
  9. 20 Oct, 2006 3 commits
    • marko's avatar
      branches/zip: Add const qualifiers to some read-only byte* and rec_t* · 94c77111
      marko authored
      parameters of some functions.
      94c77111
    • marko's avatar
      branches/zip: btr_search_drop_page_hash_index(): Do not call · f1348098
      marko authored
      buf_block_get_frame(), because it will lead to debug assertion failure
      when buf_fix_count == 0.  This bug was introduced in r908.
      f1348098
    • marko's avatar
      branches/zip: Remove some more buf_block_align() calls. · b6e26f24
      marko authored
      btr_cur_t: Move page_block to page_cur_t::block.
      
      page_cur_get_block(), page_cur_get_page_zip(): New functions.
      
      page_cur_position(): Add parameter block.
      
      Remove many page_zip parameters, now that there is page_cur_get_page_zip().
      Replace some page, page_zip parameters with block.
      
      Add some const qualifiers to function parameters and remove casts.
      
      PAGE_HEAP_NO_INFIMUM, PAGE_HEAP_NO_SUPREMUM, PAGE_HEAP_NO_USER_LOW:
      New constants.
      
      Replace some cursor code in low-level diagnostic functions with
      direct management of rec, because buf_block_t::buf_fix_count may be 0
      when the functions are called, and debug assertions would fail.
      b6e26f24