This commit is contained in:
cpwu 2022-05-21 17:53:22 +08:00
parent 0288faac7f
commit e63af60d5b
1 changed files with 1 additions and 1 deletions

View File

@ -312,7 +312,7 @@ class TDTestCase:
tdSql.query(sql)
self.__change_user_priv(user=user, pre_priv=priv, invoke=True)
if user.name != "root":
user.db_set.remove(dbname) if dbname else user.db_set.clear()
user.db_set.discard(dbname) if dbname else user.db_set.clear()
time.sleep(1)
def test_priv_change_current(self):