diff --git a/include/libs/executor/storageapi.h b/include/libs/executor/storageapi.h index 8790c302ce..300507c132 100644 --- a/include/libs/executor/storageapi.h +++ b/include/libs/executor/storageapi.h @@ -86,7 +86,7 @@ typedef struct SMetaReader { } SMetaReader; typedef struct SMTbCursor { - struct TBC *pDbc; + void * pDbc; void * pKey; void * pVal; int32_t kLen; @@ -169,7 +169,7 @@ typedef struct SMetaTableInfo { typedef struct SSnapContext { SMeta * pMeta; // todo remove it int64_t snapVersion; - struct TBC *pCur; + void * pCur; int64_t suid; int8_t subType; SHashObj * idVersion; diff --git a/source/libs/stream/test/CMakeLists.txt b/source/libs/stream/test/CMakeLists.txt index a0c1717690..75acec7f01 100644 --- a/source/libs/stream/test/CMakeLists.txt +++ b/source/libs/stream/test/CMakeLists.txt @@ -10,7 +10,7 @@ ADD_EXECUTABLE(streamUpdateTest "tstreamUpdateTest.cpp") TARGET_LINK_LIBRARIES( streamUpdateTest - PUBLIC os util common gtest gtest_main stream + PUBLIC os util common gtest gtest_main stream executor ) TARGET_INCLUDE_DIRECTORIES(