more TDB
This commit is contained in:
parent
cde7a7c6a1
commit
50aa291ff6
|
@ -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) {
|
||||||
}
|
}
|
||||||
pPage->xCellSize = NULL; // TODO
|
pPage->xCellSize = NULL; // TODO
|
||||||
|
|
||||||
|
TDB_PAGE_FLAGS_SET(pPage, flags);
|
||||||
tdbPageZero(pPage, szAmHdr);
|
tdbPageZero(pPage, szAmHdr);
|
||||||
|
|
||||||
if (isLeaf) {
|
if (isLeaf) {
|
||||||
|
|
Loading…
Reference in New Issue