An error occurred fetching the project authors.
  1. 29 Nov, 2006 1 commit
  2. 28 Nov, 2006 1 commit
  3. 27 Nov, 2006 2 commits
  4. 24 Nov, 2006 3 commits
  5. 23 Nov, 2006 1 commit
    • marko's avatar
      branches/zip: Replace most references to block->state, block->offset, · 6c8dfab1
      marko authored
      and block->space with buf_block_get_state(block), buf_block_get_page_no(block),
      and buf_block_get_space(block).
      
      enum buf_block_state: Replaces the #define'd buf_block_t.state values.
      
      buf_block_get_state(): New function.
      
      buf_block_get_frame(): Add __attribute__((const)).
      6c8dfab1
  6. 16 Nov, 2006 1 commit
  7. 15 Nov, 2006 1 commit
  8. 10 Nov, 2006 1 commit
  9. 31 Oct, 2006 1 commit
  10. 30 Oct, 2006 1 commit
  11. 12 Oct, 2006 1 commit
    • marko's avatar
      branches/zip: Reduce the number of buf_block_align() calls. · 5669dc3d
      marko authored
      btr_block_get(): New function to return buf_block_t.
      
      btr_page_alloc(), buf_page_get_release_on_io(), buf_page_get_gen(),
      buf_page_create(), fseg_create(), fseg_create_general(): Return buf_block_t.
      
      buf_page_get_known_nowait(): Expect buf_block_t instead of buf_frame_t.
      
      buf_frame_get_newest_modification(): Replace with
      buf_block_get_newest_modification().
      
      buf_page_dbg_add_level(): Replace with buf_block_dbg_add_level().
      
      buf_block_get_zip_size(): New function.
      
      buf_block_get_page_zip(): Reintroduce.
      
      recv_recover_page(): Replace page, space, page_no with block.
      
      ibuf_bitmap_page_init(): Replace page, zip_size with block.
      
      ibuf_parse_bitmap_init(): Remove the parameter zip_size.
      
      btr_search_drop_page_hash_index(): Replace page with block.
      5669dc3d
  12. 10 Oct, 2006 1 commit
  13. 09 Oct, 2006 1 commit
  14. 27 Sep, 2006 1 commit
    • marko's avatar
      branches/zip: Replace FIL_PAGE_ZBLOB_SPACE_ID and FIL_PAGE_ZBLOB_DATA · 71e8ea62
      marko authored
      with FIL_PAGE_ARCH_LOG_NO_OR_SPACE_ID and FIL_PAGE_DATA.  The doublewrite
      buffer needs to read the space_id in order to determine the type of the page.
      Because FIL_PAGE_TYPE could contain garbage in MySQL/InnoDB 5.0 and earlier
      versions, we cannot trust fil_page_get_type().  Instead, we have to always
      store the space_id at the same location.  This modification wastes 12 bytes
      per compressed BLOB page (1.2% on 1-kilobyte pages).
      71e8ea62
  15. 19 Sep, 2006 1 commit
  16. 29 Aug, 2006 1 commit
  17. 01 Aug, 2006 1 commit
  18. 31 Jul, 2006 1 commit
  19. 15 Jun, 2006 1 commit
    • marko's avatar
      branches/zip: Add parameter zip_size to fil_io(). · 97c78130
      marko authored
      fil_read(), fil_write(): Make these inlined functions in fil0fil.c.
      
      fil_write_lsn_and_arch_no_to_file(): Remove the parameter space_id and
      note that this function is to be called on the system tablespace, which
      is uncompressed.
      97c78130
  20. 14 Jun, 2006 1 commit
  21. 30 May, 2006 1 commit
    • marko's avatar
      branches/zip: Write compressed pages to disk. · 1dd4d568
      marko authored
      os_aio_simulated_handle(): Temporarily disable os_file_check_page_trailers(),
      which cannot be invoked on compressed pages.
      
      dict_table_add_system_columns(): New function, split from
      dict_table_add_to_cache().
      
      mlog_parse_index(): Add system columns to the dummy table and identify
      DB_TRX_ID and DB_ROLL_PTR in the dummy index.
      
      buf_LRU_get_free_block(): Note that page_zip->data should be allocated from
      an aligned memory pool.
      
      buf_flush_buffered_writes(): Write compressed pages to disk.
      
      buf_flush_post_to_doublewrite_buf(): Copy compressed pages to the
      doublewrite buffer.  Zero fill any excess space.
      
      buf_flush_init_for_writing(): Treat all compressed pages the same.
      
      buf_read_page_low(): Read compressed pages from disk.
      
      buf_page_io_complete(): Process compressed pages.
      
      trx_sys_doublewrite_init_or_restore_page(): Process compressed pages.
      
      mlog_write_initial_log_record_fast(): Enable a debug printout
      #ifdef UNIV_LOG_DEBUG.
      
      fsp_header_init(), fsp_fill_free_list(): Pass the compressed page size
      to buf_page_create().
      
      page_zip_compress_write_log(): Flatten the if-else if-else logic.
      
      page_zip_parse_write_blob_ptr(): Do not test page_zip if page==NULL.
      
      page_zip_parse_write_node_ptr(): Do not test page_zip if page==NULL.
      Invoke mlog_close() correctly.
      
      row_sel_store_row_id_to_prebuilt(): Add UNIV_UNLIKELY hint to an
      assertion-like test.
      1dd4d568
  22. 24 May, 2006 1 commit
  23. 22 May, 2006 1 commit
  24. 17 May, 2006 1 commit
    • marko's avatar
      branches/zip: Write the compressed page size to SYS_TABLES.TYPE and adjust · b15d26d6
      marko authored
      a few places accordingly.
      
      os_aio_simulated_handle(): Add TODO comments about skipping the write
      checks for compressed pages.
      
      dict_create_sys_tables_tuple(): Write the compressed page size to
      the TYPE column.
      
      open_or_create_data_files(): Simplify the fil_node_create() call.
      
      fil_node_create(): Do not touch space->zip_size.  It was already initialized
      by fil_space_create().
      
      fil_reset_too_high_lsns(), buf_flush_buffered_writes(): Add TODO comment
      about compressed pages.
      
      buf_flush_init_for_writing(): Handle pages of type FIL_PAGE_INODE,
      FIL_PAGE_IBUF_BITMAP, and FIL_PAGE_TYPE_FSP_HDR as uncompressed ones.
      b15d26d6
  25. 10 May, 2006 1 commit
    • marko's avatar
      branches/zip: Fix bugs. · 3547f43d
      marko authored
      btr_root_raise_and_insert(): When copying root to new_page byte for byte,
      restore the page number of new_page afterwards.
      
      buf_flush_init_for_writing(): For FIL_PAGE_INDEX, write the page number
      and space id also to the uncompressed page.
      3547f43d
  26. 08 May, 2006 1 commit
  27. 04 May, 2006 1 commit
    • marko's avatar
      branches/zip: Minor improvements. · a9ee619a
      marko authored
      Introduce FIL_PAGE_ZBLOB_DATA as a synonym for FIL_PAGE_FILE_FLUSH_LSN.
      
      btr_store_big_rec_extern_fields(): Make the assertion about
      dict_table_zip_size() more accurate.
      
      buf_LRU_get_free_block(), buf_block_alloc(): Add parameter zip_size.
      
      buf_calc_zblob_page_checksum(): Remove. Replace with page_zip_calc_checksum().
      
      buf_page_init(): Remove parameter zip_size.
      
      buf_page_io_complete(): Add a placeholder for handling compressed pages.
      
      trx_doublewrite_page_inside(): Remove redundant function.
      
      page_zip_write_rec(): Relax an overly tight assertion about blob_no.
      a9ee619a
  28. 02 May, 2006 1 commit
    • marko's avatar
      branches/zip: Prepare for writing compressed and reading pages. · f118a9c1
      marko authored
      buf_page_print(): Print also compressed pages.  Add parameter zip_size.
      
      buf_flush_init_for_writing(): Stamp the fields on a compressed B-tree index
      page.
      
      Add the header field FIL_PAGE_ZBLOB_SPACE_ID as an alias of FIL_PAGE_PREV.
      
      page_zip_calc_checksum(): New function.
      
      page_zip_compress(): Avoid copying the fields that are written in
      buf_flush_init_for_writing().
      
      page_zip_header_cmp(): New function for comparing those fields of the
      page header that will not be written in buf_flush_init_for_writing().
      f118a9c1
  29. 28 Apr, 2006 1 commit
    • marko's avatar
      branches/zip: Minor improvements. · bb638768
      marko authored
      buf_flush_init_for_writing(): Calculate the checksum with the actual zip_size.
      
      buf_calc_zblob_page_checksum(): Skip the field FIL_PAGE_SPACE_OR_CHKSUM.
      
      trx_sys_doublewrite_init_or_restore_page(): Use the actual zip_size.
      
      page_cur_insert_rec_low(): If page_zip_alloc() fails, try compressing the
      whole page afterwards.
      bb638768
  30. 25 Apr, 2006 1 commit
    • marko's avatar
      branches/zip: Write the compressed page size to SYS_TABLES.TYPE · 6dd1d8c4
      marko authored
      and to the file space header (FSP_PAGE_ZIP_SIZE, renamed from
      FSP_LOWEST_NO_WRITE).
      
      fil_space_struct: Add zip_size.
      
      dict_table_struct: Embed zip_size in flags.
      
      dict_table_zip_size(): Infer zip_size from table->flags.
      
      dict_sys_tables_get_zip_size(): Read zip_size from SYS_TABLES.TYPE.
      
      fil_space_get_zip_size(): Read zip_size from the file space header.
      
      Add the redo log entry type MLOG_ZIP_FILE_CREATE.
      6dd1d8c4
  31. 12 Apr, 2006 1 commit
  32. 11 Apr, 2006 1 commit
  33. 05 Apr, 2006 1 commit
    • marko's avatar
      branches/zip: Initial steps towards disk-based storage of compressed pages. · a1661efb
      marko authored
      dict_mem_table_create(): Account for DICT_TF_COMPRESSED in a debug assertion.
      
      btr_store_big_rec_extern_fields(), btr_free_externally_stored_field(),
      btr_copy_externally_stored_field(): Implement the disk format for
      compressed BLOB pages.
      
      btr_copy_externally_stored_field(): Improve error reporting and handling
      when decompressing BLOB pages.
      
      buf_flush_init_for_writing(), buf_page_is_corrupted(), buf_page_print():
      Account for compressed BLOB pages (FIL_PAGE_TYPE_ZBLOB).
      
      buf_calc_zblob_page_checksum(): New function.
      a1661efb
  34. 07 Mar, 2006 1 commit
    • marko's avatar
      branches/zip: Minor bug fix · 4a09767d
      marko authored
      buf_flush_init_for_writing(): Copy FIL_PAGE_LSN to the compressed page.
      
      page_cur_insert_rec_low(): Add debug assertion.
      4a09767d
  35. 02 Mar, 2006 1 commit
    • marko's avatar
      branches/zip: Fix some bugs in incremental compression. · 7f2d91cb
      marko authored
      btr_create(): page_zip_compress() returns FALSE on failure.
      
      page_zip_write_header(): Write to page_zip->data[] instead of page_zip[].
      
      buf_flush_init_for_writing(): Add parameter page_zip and set the fields
      also in the header of the compressed page.
      
      btr_cur_search_to_nth_level(): Add ut_ad() on page_zip_validate().
      7f2d91cb
  36. 23 Feb, 2006 1 commit
  37. 03 Feb, 2006 1 commit
    • marko's avatar
      branches/zip: Prepare for upcoming implementation of page_zip_compress() · d5f33daf
      marko authored
      that will require complete index information.
      
      dict_create_index_step(): invoke dict_index_add_to_cache() before btr_create()
      
      dict_index_remove_from_cache(): make public
      
      dict_index_get_if_in_cache_low(): new function, for holding dict_sys->mutex
      
      buf_flush_init_for_writing(): remove the temporary hook to page_zip_compress()
      
      page_create(): add temporary hook to page_zip_compress()
      d5f33daf