提交 78cdc646 编写于 作者: wmmhello's avatar wmmhello

fix:rollback meta change

上级 f47c3595
...@@ -314,7 +314,6 @@ static int tdbDefaultKeyCmprFn(const void *pKey1, int keyLen1, const void *pKey2 ...@@ -314,7 +314,6 @@ static int tdbDefaultKeyCmprFn(const void *pKey1, int keyLen1, const void *pKey2
static int tdbBtreeOpenImpl(SBTree *pBt) { static int tdbBtreeOpenImpl(SBTree *pBt) {
// Try to get the root page of the an existing btree // Try to get the root page of the an existing btree
#if 0
SPgno pgno; SPgno pgno;
SPage *pPage; SPage *pPage;
int ret; int ret;
...@@ -339,8 +338,6 @@ static int tdbBtreeOpenImpl(SBTree *pBt) { ...@@ -339,8 +338,6 @@ static int tdbBtreeOpenImpl(SBTree *pBt) {
ASSERT(pgno != 0); ASSERT(pgno != 0);
pBt->root = pgno; pBt->root = pgno;
#endif
pBt->root = 0;
return 0; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册