diff options
Diffstat (limited to 'psycopg/pqpath.c')
| -rw-r--r-- | psycopg/pqpath.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/psycopg/pqpath.c b/psycopg/pqpath.c index 561d4f5..23d3741 100644 --- a/psycopg/pqpath.c +++ b/psycopg/pqpath.c @@ -256,6 +256,8 @@ pq_commit(connectionObject *conn) return 0; } + conn->mark += 1; + pq_clear_async(conn); pgres = PQexec(conn->pgconn, query); if (pgres == NULL) { @@ -299,6 +301,8 @@ pq_abort(connectionObject *conn) return 0; } + conn->mark += 1; + pq_clear_async(conn); pgres = PQexec(conn->pgconn, query); if (pgres == NULL) { |
