提交 50aa291f 编写于 作者: H Hongze Cheng

more TDB

上级 cde7a7c6
...@@ -423,9 +423,6 @@ static int tdbBtreeZeroPage(SPage *pPage, void *arg) { ...@@ -423,9 +423,6 @@ static int tdbBtreeZeroPage(SPage *pPage, void *arg) {
pBt = ((SBtreeZeroPageArg *)arg)->pBt; pBt = ((SBtreeZeroPageArg *)arg)->pBt;
isLeaf = TDB_BTREE_PAGE_IS_LEAF(flags); isLeaf = TDB_BTREE_PAGE_IS_LEAF(flags);
// Init the page header
TDB_PAGE_FLAGS_SET(pPage, flags);
// Set szAmHdr
if (isLeaf) { if (isLeaf) {
szAmHdr = 0; szAmHdr = 0;
} else { } else {
...@@ -433,6 +430,7 @@ static int tdbBtreeZeroPage(SPage *pPage, void *arg) { ...@@ -433,6 +430,7 @@ static int tdbBtreeZeroPage(SPage *pPage, void *arg) {
} }
pPage->xCellSize = NULL; // TODO pPage->xCellSize = NULL; // TODO
TDB_PAGE_FLAGS_SET(pPage, flags);
tdbPageZero(pPage, szAmHdr); tdbPageZero(pPage, szAmHdr);
if (isLeaf) { if (isLeaf) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册