diff options
| author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2010-10-14 00:41:13 +0100 |
|---|---|---|
| committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2010-11-05 09:34:49 +0000 |
| commit | f0f5f095c7fd7982c1f34528214df252cdebffc9 (patch) | |
| tree | b19acc0d040e410511e4b4f27f39ebd1b9ebcc77 | |
| parent | a923a16ae8930594ea82a91ec04fc707182abfbe (diff) | |
| download | psycopg2-f0f5f095c7fd7982c1f34528214df252cdebffc9.tar.gz | |
Fixed handling of commit/rollback prepared in green mode
| -rw-r--r-- | psycopg/connection_int.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/psycopg/connection_int.c b/psycopg/connection_int.c index 00e8fa4..b952788 100644 --- a/psycopg/connection_int.c +++ b/psycopg/connection_int.c @@ -727,6 +727,7 @@ conn_poll(connectionObject *self) case CONN_STATUS_READY: case CONN_STATUS_BEGIN: + case CONN_STATUS_PREPARED: res = _conn_poll_query(self); if (res == PSYCO_POLL_OK && self->async_cursor) { |
