mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-23 01:16:34 +03:00
Fixed handling of commit/rollback prepared in green mode
This commit is contained in:
parent
a923a16ae8
commit
f0f5f095c7
|
@ -727,6 +727,7 @@ conn_poll(connectionObject *self)
|
||||||
|
|
||||||
case CONN_STATUS_READY:
|
case CONN_STATUS_READY:
|
||||||
case CONN_STATUS_BEGIN:
|
case CONN_STATUS_BEGIN:
|
||||||
|
case CONN_STATUS_PREPARED:
|
||||||
res = _conn_poll_query(self);
|
res = _conn_poll_query(self);
|
||||||
|
|
||||||
if (res == PSYCO_POLL_OK && self->async_cursor) {
|
if (res == PSYCO_POLL_OK && self->async_cursor) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user