diff --git a/tools/shell/inc/tire.h b/tools/shell/inc/shellTire.h similarity index 100% rename from tools/shell/inc/tire.h rename to tools/shell/inc/shellTire.h diff --git a/tools/shell/src/shellAuto.c b/tools/shell/src/shellAuto.c index 55955b2d36b5861a37d6e7e3c3b90269ce4e05b7..d1eddabd233528844bd5da8e609d0088573138a2 100644 --- a/tools/shell/src/shellAuto.c +++ b/tools/shell/src/shellAuto.c @@ -772,7 +772,7 @@ void shellAutoExit() { taosThreadMutexDestroy(&tiresMutex); // free threads - for (int32_t i = 0; i < WT_VAR_CNT; i++) { + for (int32_t i = 0; i < WT_FROM_DB_CNT; i++) { if (threads[i]) { taosDestroyThread(threads[i]); threads[i] = NULL; diff --git a/tools/shell/src/tire.c b/tools/shell/src/shellTire.c similarity index 100% rename from tools/shell/src/tire.c rename to tools/shell/src/shellTire.c