This commit is contained in:
Hongze Cheng 2022-02-25 01:51:17 +00:00
parent a4cc355f6c
commit 2d304989aa
1 changed files with 6 additions and 2 deletions

View File

@ -15,6 +15,8 @@
#include "tdbInt.h"
#define BTREE_MAX_DEPTH 20
struct SBTree {
SPgno root;
int keyLen;
@ -24,8 +26,10 @@ struct SBTree {
};
struct SBtCursor {
SBTree *pBt;
int8_t iPage;
SBTree * pBt;
i8 iPage;
SMemPage *pPage;
SMemPage *apPage[BTREE_MAX_DEPTH + 1];
};
typedef struct SMemPage {