~jlukas79/+junk/mysql-server

« back to all changes in this revision

Viewing changes to storage/falcon/IndexRootPage.h

manual merge 6.0-main --> 6.0-bka-review

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
class Btn;
35
35
class IndexKey;
36
36
class SRLUpdateIndex;
 
37
class WalkIndex;
37
38
struct IndexAnalysis;
38
39
 
39
40
class IndexRootPage : public RootPage  
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);
 
50
        static void             repositionIndex(Dbb* dbb, int indexId, 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);
56
59
        static void             analyzeIndex(Dbb* dbb, int indexId, IndexAnalysis *indexAnalysis);
57
60
        static int32    getIndexRoot(Dbb* dbb, int indexId);
58
61
 
59
 
        static void             redoIndexPage(Dbb* dbb, int32 pageNumber, int32 parentPageNumber, int level, int32 prior, int32 next, int length, const UCHAR *data);
 
62
        static void             redoIndexPage(Dbb* dbb, int32 pageNumber, int32 parentPageNumber, int level, int32 prior, int32 next, int length, const UCHAR *data, bool haveSuperNodes);
60
63
        static void             setIndexRoot(Dbb* dbb, int indexId, int32 pageNumber, TransId transId);
61
64
        static void             redoIndexDelete(Dbb* dbb, int indexId);
62
65
        static void             redoCreateIndex(Dbb* dbb, int indexId);