1. 05 Feb, 2007 1 commit
    • marko's avatar
      branches/zip: Introduce separate functions for handling records containing · a53aa6ac
      marko authored
      externally stored columns.
      
      page_zip_compress_clust_ext(), page_zip_apply_log_ext():
      New functions.
      
      page_zip_compress_clust(), page_zip_apply_log(): Check rec_offs_any_extern()
      and avoid invoking the costly loop in most cases.
      
      Similar optimizations can be made in page_zip_decompress_clust() and
      page_zip_write_rec().
      a53aa6ac
  2. 02 Feb, 2007 2 commits
  3. 01 Feb, 2007 2 commits
  4. 31 Jan, 2007 3 commits
  5. 30 Jan, 2007 1 commit
    • marko's avatar
      branches/zip: Avoid memory fragmentation when adding column definitions · 0178dba1
      marko authored
      to tables.
      
      dict_mem_table_add_col(): Add the parameter "heap" for temporary memory
      allocation.  Allow it and "name" to be NULL.  These parameters are NULL
      when creating dummy indexes.
      
      dict_add_col_name(): Remove calls to ut_malloc() and ut_free().
      
      dict_table_get_col_name(): Allow table->col_names to be NULL.
      
      dict_table_add_system_columns(), dict_table_add_to_cache():
      Add the parameter "heap".
      0178dba1
  6. 29 Jan, 2007 1 commit
    • marko's avatar
      branches/zip: Make zlib use InnoDB memory heaps when processing BLOBs. · 4b07b77f
      marko authored
      page_zip_set_alloc(): New function, to configure zlib to use a memory heap.
      
      btr_store_big_rec_extern_fields(): Reduce memLevel, so that a heap of
      256 kilobytes will suffice.  Use page_zip_set_alloc().
      
      btr_copy_externally_stored_field_prefix_low(): Use page_zip_set_alloc().
      
      page_zip_compress(), page_zip_decompress(): Use page_zip_set_alloc().
      4b07b77f
  7. 24 Jan, 2007 2 commits
  8. 23 Jan, 2007 4 commits
  9. 22 Jan, 2007 4 commits
  10. 19 Jan, 2007 1 commit
    • marko's avatar
      branches/zip: Fix a bug in the buddy allocator. · f5652a6a
      marko authored
      buf_buddy_relocate_block(): New function, split from buf_buddy_relocate().
      Return FALSE when buf_page_can_relocate() returns FALSE.
      
      Fix some formatting in buf_buddy_free_low() and buf_page_init_for_read().
      f5652a6a
  11. 18 Jan, 2007 8 commits
  12. 17 Jan, 2007 1 commit
    • marko's avatar
      branches/zip: btr_copy_externally_stored_field_prefix_low(): · 60c96ae3
      marko authored
      Split the code to subroutines.
      
      btr_copy_blob_prefix(): New function: copy the prefix of the externally
      stored part of an uncompressed BLOB.
      
      btr_copy_zblob_prefix(): New function: copy the prefix of the externally
      stored part of a compressed BLOB.
      
      btr_blob_get_part_len(), btr_blob_get_next_page_no(): Add const qualifier
      to the parameter.
      60c96ae3
  13. 16 Jan, 2007 10 commits