diff --git a/source/client/src/clientEnv.c b/source/client/src/clientEnv.c index b227a6bd96..ecfa1e3392 100644 --- a/source/client/src/clientEnv.c +++ b/source/client/src/clientEnv.c @@ -864,10 +864,12 @@ void taos_init_imp(void) { initQueryModuleMsgHandle(); if (taosConvInit() != 0) { + tscInitRes = -1; tscError("failed to init conv"); return; } if (monitorInit() != 0){ + tscInitRes = -1; tscError("failed to init monitor"); return; }