This commit is contained in:
yumoqing 2020-05-15 17:10:38 +08:00
parent d488a5957c
commit 2f89d1e4b9

View File

@ -202,7 +202,7 @@ class DBPools:
if sqlor and sqlor.dataChanged:
sqlor.rollback()
finally:
if sqlor and qlor.dataChanged:
if sqlor and sqlor.dataChanged:
sqlor.commit()
await self.freeSqlor(sqlor)