History log of /csrg-svn/lib/libc/db/btree/bt_split.c (Results 1 – 21 of 21)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 68156 09-Jan-1995 bostic

Fix to split code for single large record at the end of a page.

# 66214 21-Feb-1994 bostic

cast alloc's to shut SunOS up

# 66192 21-Feb-1994 bostic

first pass at making DB use basic integral types (the Alpha port)

# 61196 04-Jun-1993 bostic

4.4BSD snapshot (revision 8.1); add 1993 to copyright

# 60234 22-May-1993 bostic

recno bug -- if split to a new page on index 0 (a sorted split) was
changing a random value as the new number of records on the left page

# 60048 16-May-1993 bostic

break BTF flags up into btree/recno (B_, R_) categories

# 58078 19-Feb-1993 bostic

more lint

# 58067 19-Feb-1993 bostic

fix some types for the Sun compiler

# 58017 16-Feb-1993 bostic

bcmp/bcopy/bzero -> memcmp/memmove/memset

# 57989 14-Feb-1993 bostic

index -> indx_t

# 57932 11-Feb-1993 bostic

move db.h to the end of the includes, make compat.h work better

# 57451 10-Jan-1993 bostic

if large key/data pairs, can split and still not have enough room for
the new key. Pass the length of the new key into the split routines so the
calculation is correct. Remove prefix compression w

if large key/data pairs, can split and still not have enough room for
the new key. Pass the length of the new key into the split routines so the
calculation is correct. Remove prefix compression when BINTERNAL pages are
being split -- it's not possible (Bayer's paper agrees). Most of the actual
split code was reworked, including cursor adjustment.

show more ...

# 57440 09-Jan-1993 bostic

Put new key/data pair into split page before fixing up the root page
if the root page split. The old method, of guaranteeing that the split wasn't
on the leftmost key of the right page doesn't work,

Put new key/data pair into split page before fixing up the root page
if the root page split. The old method, of guaranteeing that the split wasn't
on the leftmost key of the right page doesn't work, there are cases where the
split HAS to be that key. Example is three keys, A, B, D, each 1/3 of a page
and an insert of a key C which is 1/2 of a page.

show more ...

# 56741 13-Nov-1992 bostic

abort() if unrecognized switch value; initialize nksize (thanks GCC!)

# 56492 09-Oct-1992 bostic

implement free page reuse

# 56402 03-Oct-1992 bostic

once half < nbytes, don't decrement further, can wrap around

# 56401 03-Oct-1992 bostic

bytes needed calculation for BLEAF parent page was wrong -- included
data bytes as well. This caused a later error, not positive that it's fixed.
Also, page was being allowed to split on "skipped" o

bytes needed calculation for BLEAF parent page was wrong -- included
data bytes as well. This caused a later error, not positive that it's fixed.
Also, page was being allowed to split on "skipped" offset, which caused root
split to drop core

show more ...

# 51106 12-Sep-1991 bostic

change bt_nrecs and set BTF_METADIRTY, BTF_MODIFIED elsewhwere; fix bug
using rchild->flags instead of bl->flags to get bigkey flag; increment parent
pages in search routines, so just clear stack; fi

change bt_nrecs and set BTF_METADIRTY, BTF_MODIFIED elsewhwere; fix bug
using rchild->flags instead of bl->flags to get bigkey flag; increment parent
pages in search routines, so just clear stack; fix cursor repositioning code
in routine doing the physical split

show more ...

# 50989 04-Sep-1991 bostic

Rev #2. Redo the btree code add recno's and checkpoint

# 46561 22-Feb-1991 bostic

ANSI prototypes

# 46134 23-Jan-1991 mao

date and time created 91/01/23 08:12:46 by mao