mariadb/btr
marko d9044d117e branches/zip: When setting the PAGE_LEVEL of a compressed B-tree page
from or to 0, compress the page at the same time.  This is necessary,
because the column information stored on the compressed page will
differ between leaf and non-leaf pages.  Leaf pages are identified by
PAGE_LEVEL=0.  This bug was reported as Issue #150.

Document the similarity between btr_page_create() and
btr_page_empty().  Make the function signature of btr_page_empty()
identical with btr_page_create().  (This will add the parameter "level".)

btr_root_raise_and_insert(): Replace some code with a call to
btr_page_empty().

btr_attach_half_pages(): Assert that the page level has already been
set on both block and new_block.  Do not set it again.

btr_discard_only_page_on_level(): Document that this function is
probably never called.  Make it work on any height tree.  (Tested on
2-high tree by disabling btr_lift_page_up().)

rb://68
2008-12-30 20:45:04 +00:00
..
btr0btr.c branches/zip: When setting the PAGE_LEVEL of a compressed B-tree page 2008-12-30 20:45:04 +00:00
btr0cur.c branches/zip: Do not update the free bits in the insert buffer bitmap 2008-12-16 13:52:36 +00:00
btr0pcur.c branches/zip: Non-functional change: 2008-09-22 06:59:58 +00:00
btr0sea.c branches/zip: Introduce UNIV_AHI_DEBUG for debugging the adaptive hash 2008-12-17 09:19:56 +00:00