fix: run once not check right

This commit is contained in:
Alex Duan 2023-02-15 11:34:01 +08:00
parent 128880c1cf
commit 6676ee7de8
1 changed files with 1 additions and 1 deletions

View File

@ -1987,7 +1987,7 @@ void callbackAutoTab(char* sqlstr, TAOS* pSql, bool usedb) {
if (dealUseDB(sql)) {
// change to new db
if (varRunOnce) updateTireValue(WT_VAR_STABLE, false);
if (!varRunOnce) updateTireValue(WT_VAR_STABLE, false);
return;
}