fix compile error
This commit is contained in:
parent
7437c5dd71
commit
3d7b737bbc
|
@ -92,13 +92,14 @@ static int32_t mndRestoreWal(SMnode *pMnode) {
|
||||||
goto WAL_RESTORE_OVER;
|
goto WAL_RESTORE_OVER;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (walBeginSnapshot(pWal, sdbVer) < 0) {
|
if (walBeginSnapshot(pWal, sdbVer) < 0) {
|
||||||
goto WAL_RESTORE_OVER;
|
goto WAL_RESTORE_OVER;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (walEndSnapshot(pWal) < 0) {
|
||||||
|
goto WAL_RESTORE_OVER;
|
||||||
|
}
|
||||||
|
|
||||||
if (walEndSnapshot(pWal) < 0) {
|
|
||||||
goto WAL_RESTORE_OVER;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
code = 0;
|
code = 0;
|
||||||
|
|
|
@ -8,7 +8,8 @@ target_include_directories(
|
||||||
|
|
||||||
target_link_libraries(
|
target_link_libraries(
|
||||||
planner
|
planner
|
||||||
PRIVATE os util catalog cjson parser transport function qcom
|
PRIVATE os util catalog cjson parser function qcom
|
||||||
|
PUBLIC transport
|
||||||
)
|
)
|
||||||
|
|
||||||
if(${BUILD_TEST})
|
if(${BUILD_TEST})
|
||||||
|
|
Loading…
Reference in New Issue