marko
94c7711111
branches/zip: Add const qualifiers to some read-only byte* and rec_t*
...
parameters of some functions.
2006-10-20 13:50:40 +00:00
marko
5669dc3d2a
branches/zip: Reduce the number of buf_block_align() calls.
...
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.
2006-10-12 11:05:22 +00:00
marko
38e09b2fea
branches/zip: Merge revisions 720:765 from trunk and reindent the code
...
as per revisions r763:765.
2006-08-29 09:30:31 +00:00
marko
4465e272a0
branches/zip: Allow the code to be built with function inlining enabled.
...
page0page.h: Add #include "page0zip.h"
page_dir_slot_get_rec(): Avoid void* arithmetics.
trx0undo.ic, trx0sys.ic: Remove unnecessary #include "page0zip.h"
page_zip_write_header(): Move prototype from page0types.h to page0zip.h
2006-08-14 08:25:46 +00:00
marko
747c8fad44
branches/zip: Merge revisions 200:236 from trunk.
2006-02-23 19:25:29 +00:00
marko
12050c5c1c
branches/zip: Prepare for in-place updates of B-tree node pointers,
...
BLOB pointers, trx_id, and roll_ptr.
btr_empty(), btr_create(), page_create(): Add parameter "index", as some
index information will be encoded on the compressed page.
Define REC_NODE_PTR_SIZE as 4.
Allow btr_page_reorganize() and btr_page_reorganize_low() to fail.
Define the error code DB_ZIP_OVERFLOW.
Make row_ins_index_entry_low() static.
page0zip: Encode the index, log reorganized records, and store uncompressed
fields separately from the compressed data stream.
2006-02-10 15:06:17 +00:00
marko
b34b37b502
branches/zip:
...
Initial import of the zip-like compression of B-tree pages.
2005-10-27 11:48:10 +00:00
osku
2903c72469
Import 5.0 code.
2005-10-27 07:29:40 +00:00