From a56618077049d97bf369f10f9f492a259e9f8dde Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Wed, 24 May 2023 15:16:50 +0800 Subject: [PATCH] fix: fix syntax error. --- include/libs/executor/storageapi.h | 4 ++-- source/libs/stream/test/CMakeLists.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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(