fix compile error

This commit is contained in:
Liu Jicong 2022-01-10 16:23:35 +08:00
parent 7437c5dd71
commit 3d7b737bbc
2 changed files with 9 additions and 7 deletions

View File

@ -92,13 +92,14 @@ static int32_t mndRestoreWal(SMnode *pMnode) {
goto WAL_RESTORE_OVER;
}
if (walBeginSnapshot(pWal, sdbVer) < 0) {
goto WAL_RESTORE_OVER;
}
if (walBeginSnapshot(pWal, sdbVer) < 0) {
goto WAL_RESTORE_OVER;
}
if (walEndSnapshot(pWal) < 0) {
goto WAL_RESTORE_OVER;
}
if (walEndSnapshot(pWal) < 0) {
goto WAL_RESTORE_OVER;
}
}
code = 0;

View File

@ -8,7 +8,8 @@ target_include_directories(
target_link_libraries(
planner
PRIVATE os util catalog cjson parser transport function qcom
PRIVATE os util catalog cjson parser function qcom
PUBLIC transport
)
if(${BUILD_TEST})