提交 cb4bd33c 编写于 作者: H Hongze Cheng

more

上级 a6f0d2b5
......@@ -21,6 +21,18 @@ int tdbTxnBegin(TENV *pEnv) {
}
int tdbTxnCommit(TENV *pEnv) {
SPager *pPager = NULL;
int ret;
for (;;) {
break;
ret = tdbPagerCommit(pPager);
if (ret < 0) {
ASSERT(0);
return -1;
}
}
// TODO
return 0;
}
......
......@@ -147,7 +147,7 @@ TEST(tdb_test, simple_test) {
i++;
}
// tdbPagerCommit()
tdbTxnCommit(pEnv);
}
{ // Query the data
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册