提交 2d304989 编写于 作者: H Hongze Cheng

more

上级 a4cc355f
...@@ -15,6 +15,8 @@ ...@@ -15,6 +15,8 @@
#include "tdbInt.h" #include "tdbInt.h"
#define BTREE_MAX_DEPTH 20
struct SBTree { struct SBTree {
SPgno root; SPgno root;
int keyLen; int keyLen;
...@@ -24,8 +26,10 @@ struct SBTree { ...@@ -24,8 +26,10 @@ struct SBTree {
}; };
struct SBtCursor { struct SBtCursor {
SBTree *pBt; SBTree * pBt;
int8_t iPage; i8 iPage;
SMemPage *pPage;
SMemPage *apPage[BTREE_MAX_DEPTH + 1];
}; };
typedef struct SMemPage { typedef struct SMemPage {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册