This commit is contained in:
yumoqing 2025-10-19 12:03:40 +08:00
parent 5ea4bdf171
commit 99ef9b20b2

View File

@ -153,7 +153,7 @@ WHERE
dbdesc = self.dbdesc
self.conn = await aiomysql.connect(**dbdesc)
self.cur = await self.conn.cursor()
aelf.dbname = dbdesc.get('db')
self.dbname = dbdesc.get('db')
async def close(self):
await self.cursor.close()