1. 30 Sep, 2008 5 commits
    • marko's avatar
      branches/innodb+: row_search_index_entry(): Clean up the call interface · 769969cc
      marko authored
      and add assertions to callers.  Remove the added ibool* parameter and
      return enum row_search_result instead of ibool, to reflect the four
      different outcomes: record found, not found, buffered, and status unknown
      (record not in the buffer pool).
      
      rb://6
      769969cc
    • marko's avatar
      branches/innodb+: ibuf_rec_get_size(): Correct some bugs. rb://17 · 33b5eef5
      marko authored
      This function was created when the delete buffering code was merged from
      branches/fts in r2324.
      
      ibuf_rec_get_size(): Rename the parameter new_format to pre_4_1.  Use
      the correct offsets and accessors for both values of pre_4_1.
      
      ibuf_rec_get_info(): Note that the record must be in 4.1 or later format.
      33b5eef5
    • marko's avatar
      branches/innodb+: page_zip_dir_delete(): Do not clear the last record on · 99d69263
      marko authored
      a secondary index leaf page, because that could break delete buffering.
      
      btr_page_get_father_node_ptr(): Remove a TODO comment regarding this.
      99d69263
    • marko's avatar
      branches/innodb+: Minor cleanup. · 104979bf
      marko authored
      ibuf_set_entry_counter(): Turn a ut_ad() assertion into ut_a().
      
      ibuf_set_del_mark(), ibuf_delete(): Add const qualifiers to read-only
      parameters.
      104979bf
    • marko's avatar
      branches/innodb+: Non-functional changes: · e1580c30
      marko authored
      ibuf_get_entry_counter_low(): Rename from ibuf_set_entry_counter_low().
      This function only reads the counter.  Add const qualifier to the
      rec parameter.
      
      ibuf_set_entry_counter(): Document the entry parameter as in/out.
      e1580c30
  2. 29 Sep, 2008 1 commit
  3. 26 Sep, 2008 1 commit
    • marko's avatar
      branches/innodb+: Minor cleanup. · 5a6b9cf2
      marko authored
      ibuf_rec_get_info(): Eliminate the local variable "mod".  Use switch-case
      instead of if-else if-else.
      
      ibuf_rec_get_op_type(), ibuf_add_ops(), ibuf_print_ops():
      Add const qualifiers to read-only parameters.
      
      ibuf_rec_get_volume(): Remove empty line at end of block.
      5a6b9cf2
  4. 25 Sep, 2008 2 commits
  5. 24 Sep, 2008 5 commits
  6. 23 Sep, 2008 2 commits
  7. 22 Sep, 2008 8 commits
  8. 19 Sep, 2008 3 commits
    • marko's avatar
      branches/innodb+: buf0buf.c: Fix some assertions. · 583a4fb4
      marko authored
      buf_page_get_gen(): Once again, zip_size must always match the
      compressed page size of the tablespace where the page is requested from.
      This seems to hold also for all calls from the insert buffer.
      
      buf_page_optimistic_get_func(): Do not pass mtr to ibuf_page(), because
      there is no guarantee that mtr would contain an x-latch to the insert
      buffer bitmap page that covers (block->page.space, block->page.offset).
      583a4fb4
    • marko's avatar
      branches/innodb+: buf_page_get_gen(): Correct some ut_ad() assertions. · 7aeb05d8
      marko authored
      zip_size should always equal fil_space_get_zip_size(space), even when called
      from ibuf.
      
      ibuf_page() should be called with mtr=NULL to be equivalent to the original
      implementation.  We cannot assume that mtr holds an x-latch on the insert
      buffer bitmap page that covers the page that is being requested.
      7aeb05d8
    • marko's avatar
      branches/innodb+: Undo another white-space change that makes the code · 93fdc0e4
      marko authored
      differ from branches/zip.
      93fdc0e4
  9. 18 Sep, 2008 5 commits
  10. 17 Sep, 2008 4 commits
  11. 15 Sep, 2008 3 commits
  12. 09 Aug, 2008 1 commit