提交 19ee34c7 编写于 作者: S Shengliang Guan

fix: compile error

上级 5101d215
...@@ -367,6 +367,8 @@ bool sdbTraverseFail(SMnode *pMnode, SStrObj *pObj, int32_t *p1, int32_t *p2, in ...@@ -367,6 +367,8 @@ bool sdbTraverseFail(SMnode *pMnode, SStrObj *pObj, int32_t *p1, int32_t *p2, in
return false; return false;
} }
#ifndef WINDOWS
TEST_F(MndTestSdb, 00_API) { TEST_F(MndTestSdb, 00_API) {
SMnode mnode = {0}; SMnode mnode = {0};
SSdbOpt opt = {0}; SSdbOpt opt = {0};
...@@ -437,7 +439,8 @@ TEST_F(MndTestSdb, 00_API) { ...@@ -437,7 +439,8 @@ TEST_F(MndTestSdb, 00_API) {
ASSERT_NE(sdbWriteWithoutFree(pSdb, pRaw4), 0); ASSERT_NE(sdbWriteWithoutFree(pSdb, pRaw4), 0);
} }
#if 0 #endif
TEST_F(MndTestSdb, 01_Write_Str) { TEST_F(MndTestSdb, 01_Write_Str) {
void *pIter = NULL; void *pIter = NULL;
int32_t num = 0; int32_t num = 0;
...@@ -1006,5 +1009,3 @@ TEST_F(MndTestSdb, 01_Read_Str) { ...@@ -1006,5 +1009,3 @@ TEST_F(MndTestSdb, 01_Read_Str) {
ASSERT_EQ(mnode.insertTimes, 9); ASSERT_EQ(mnode.insertTimes, 9);
ASSERT_EQ(mnode.deleteTimes, 9); ASSERT_EQ(mnode.deleteTimes, 9);
} }
#endif
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册