提交 095a6e0f 编写于 作者: A Alex Duan

feat: auto get stable after use db

上级 8bde2189
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册