• unknown's avatar
    InnoDB: Write status bits to MLOG_COMP_REC_INSERT entries. · 4c39f5c2
    unknown authored
    It is not safe to infer the status bits from the B-tree page
    level, because after MLOG_COMP_LIST_END_COPY_CREATED, the
    level will not be initialized before the records have been inserted.
    (Bug #7973)
    
    
    innobase/btr/btr0cur.c:
      Add parameter "offsets" to page_cur_insert_rec_low()
    innobase/include/page0cur.h:
      page_cur_rec_insert(), page_cur_insert_rec_low(): Add param "offsets"
    innobase/include/page0cur.ic:
      page_cur_rec_insert(), page_cur_insert_rec_low(): Add param "offsets"
    innobase/include/rem0rec.h:
      Add rec_get_info_and_status_bits() and rec_set_info_and_status_bits()
    innobase/include/rem0rec.ic:
      Add rec_get_info_and_status_bits() and rec_set_info_and_status_bits()
    innobase/page/page0cur.c:
      page_cur_insert_rec_write_log(), page_cur_parse_insert_rec():
      write the status bits of the record to the log (Bug #7973)
      page_cur_insert_rec_low(): add parameter "offsets"
      page_copy_rec_list_end_to_created_page(): remove unnecessary call
      to mem_heap_create()
    innobase/page/page0page.c:
      page_copy_rec_list_end_no_locks(), page_copy_rec_list_start():
      compute offsets and pass them to page_cur_rec_insert()
    4c39f5c2
page0page.c 49.2 KB