(self)
| 57 | con.close() |
| 58 | |
| 59 | def test_tpc_commit_without_prepare(self): |
| 60 | con = self.connect() |
| 61 | try: |
| 62 | xid = self.make_xid(con) |
| 63 | con.tpc_begin(xid) |
| 64 | cursor = con.cursor() |
| 65 | cursor.execute("SELECT 1") |
| 66 | con.tpc_commit() |
| 67 | finally: |
| 68 | con.close() |
| 69 | |
| 70 | def test_tpc_rollback_without_prepare(self): |
| 71 | con = self.connect() |