Skip to content
Snippets Groups Projects
Commit c715adf905d8 authored by INADA Naoki's avatar INADA Naoki
Browse files

Fix pool.begin() doesn't begin transaction

parent 2c59d61cbc2d
No related branches found
No related tags found
No related merge requests found
...@@ -111,6 +111,7 @@ ...@@ -111,6 +111,7 @@
:rtype: Future :rtype: Future
""" """
conn = yield self._get_conn() conn = yield self._get_conn()
yield conn.begin()
trx = Transaction(self, conn) trx = Transaction(self, conn)
raise Return(trx) raise Return(trx)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment