feat: auto get stable after use db
This commit is contained in:
parent
8bde21894f
commit
095a6e0f82
|
@ -638,7 +638,6 @@ void shellSetConn(TAOS* conn) {
|
|||
varCon = conn;
|
||||
// init database and stable
|
||||
tireSearchWord(WT_VAR_DBNAME, "");
|
||||
tireSearchWord(WT_VAR_STABLE, "");
|
||||
}
|
||||
|
||||
// exit shell auto funciton, shell exit call once
|
||||
|
@ -1957,6 +1956,7 @@ void callbackAutoTab(char* sqlstr, TAOS* pSql, bool usedb) {
|
|||
|
||||
if (dealUseDB(sql)) {
|
||||
// change to new db
|
||||
tireSearchWord(WT_VAR_STABLE, "");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue