diff --git a/sqlor/mysqlor.py b/sqlor/mysqlor.py index 57f4028..22b3260 100644 --- a/sqlor/mysqlor.py +++ b/sqlor/mysqlor.py @@ -159,6 +159,7 @@ WHERE await self.conn.close() async def enter(self): + await self.conn.commit() self.cur = await self.conn.cursor() async def exit(self):