提交 3c1daaf9 编写于 作者: S Shengliang Guan

TD-1853

上级 25bde6da
...@@ -57,10 +57,11 @@ int32_t dnodeStepInit(SStep *pSteps, int32_t stepSize) { ...@@ -57,10 +57,11 @@ int32_t dnodeStepInit(SStep *pSteps, int32_t stepSize) {
int32_t code = (*pStep->initFp)(); int32_t code = (*pStep->initFp)();
if (code != 0) { if (code != 0) {
dDebug("step:%s will init", pStep->name); dDebug("step:%s will cleanup", pStep->name);
taosStepCleanupImp(pSteps, step); taosStepCleanupImp(pSteps, step);
return code; return code;
} }
dInfo("step:%s is initialized", pStep->name);
dnodeReportStep(pStep->name, "Initialization complete", step + 1 >= stepSize); dnodeReportStep(pStep->name, "Initialization complete", step + 1 >= stepSize);
} }
......
...@@ -31,8 +31,8 @@ IF (TD_LINUX) ...@@ -31,8 +31,8 @@ IF (TD_LINUX)
#add_executable(createTablePerformance createTablePerformance.c) #add_executable(createTablePerformance createTablePerformance.c)
#target_link_libraries(createTablePerformance taos_static tutil common pthread) #target_link_libraries(createTablePerformance taos_static tutil common pthread)
add_executable(createNormalTable createNormalTable.c) #add_executable(createNormalTable createNormalTable.c)
target_link_libraries(createNormalTable taos_static tutil common pthread) #target_link_libraries(createNormalTable taos_static tutil common pthread)
#add_executable(queryPerformance queryPerformance.c) #add_executable(queryPerformance queryPerformance.c)
#target_link_libraries(queryPerformance taos_static tutil common pthread) #target_link_libraries(queryPerformance taos_static tutil common pthread)
...@@ -46,7 +46,7 @@ IF (TD_LINUX) ...@@ -46,7 +46,7 @@ IF (TD_LINUX)
#add_executable(invalidTableId invalidTableId.c) #add_executable(invalidTableId invalidTableId.c)
#target_link_libraries(invalidTableId taos_static tutil common pthread) #target_link_libraries(invalidTableId taos_static tutil common pthread)
add_executable(hashIterator hashIterator.c) #add_executable(hashIterator hashIterator.c)
target_link_libraries(hashIterator taos_static tutil common pthread) #target_link_libraries(hashIterator taos_static tutil common pthread)
ENDIF() ENDIF()
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册