From e010d35839f318bcb6ac0297a1d22c001d96d4a1 Mon Sep 17 00:00:00 2001 From: dapan1121 Date: Tue, 14 Feb 2023 14:12:17 +0800 Subject: [PATCH] fix: remove code --- tools/shell/src/shellAuto.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/shell/src/shellAuto.c b/tools/shell/src/shellAuto.c index 6e50a97c02..0492a76f8d 100644 --- a/tools/shell/src/shellAuto.c +++ b/tools/shell/src/shellAuto.c @@ -640,7 +640,7 @@ bool shellAutoInit() { void shellSetConn(TAOS* conn) { varCon = conn; // init database and stable - updateTireValue(WT_VAR_DBNAME, false); + //updateTireValue(WT_VAR_DBNAME, false); } // exit shell auto funciton, shell exit call once @@ -1977,7 +1977,7 @@ void callbackAutoTab(char* sqlstr, TAOS* pSql, bool usedb) { if (dealUseDB(sql)) { // change to new db - updateTireValue(WT_VAR_STABLE, false); + //updateTireValue(WT_VAR_STABLE, false); return; }