45
46
static bool splitIndexPage (Dbb *dbb, int32 indexId, Bdb *bdb, TransId transId,
46
47
AddNodeResult addResult, IndexKey *indexKey, int recordNumber);
47
48
static void scanIndex (Dbb *dbb, int32 indexId, int32 rootPage, IndexKey *low, IndexKey *high, int searchFlags, TransId transId, Bitmap *bitmap);
49
static void positionIndex(Dbb* dbb, int indexId, int32 rootPage, WalkIndex* walkIndex);
48
51
static Bdb* findRoot (Dbb *dbb, int32 indexId, int32 rootPage, LockType lockType, TransId transId);
49
52
static Bdb* findLeaf (Dbb *dbb, int32 indexId, int32 rootPage, IndexKey *key, LockType lockType, TransId transId);
50
53
static Bdb* findInsertionLeaf (Dbb *dbb, int32 indexId, IndexKey *key, int32 recordNumber, TransId transId);