fix: remove code

This commit is contained in:
dapan1121 2023-02-14 14:12:17 +08:00
parent 451b3628d5
commit e010d35839
1 changed files with 2 additions and 2 deletions

View File

@ -640,7 +640,7 @@ bool shellAutoInit() {
void shellSetConn(TAOS* conn) { void shellSetConn(TAOS* conn) {
varCon = conn; varCon = conn;
// init database and stable // init database and stable
updateTireValue(WT_VAR_DBNAME, false); //updateTireValue(WT_VAR_DBNAME, false);
} }
// exit shell auto funciton, shell exit call once // exit shell auto funciton, shell exit call once
@ -1977,7 +1977,7 @@ void callbackAutoTab(char* sqlstr, TAOS* pSql, bool usedb) {
if (dealUseDB(sql)) { if (dealUseDB(sql)) {
// change to new db // change to new db
updateTireValue(WT_VAR_STABLE, false); //updateTireValue(WT_VAR_STABLE, false);
return; return;
} }