From 18f89e2c907e17962ec4bb99d5c9b56b17678a06 Mon Sep 17 00:00:00 2001 From: Chris Wright Date: Thu, 27 Nov 2014 16:18:47 +0000 Subject: [PATCH] Mark transaction as open when started async --- src/php_pqconn.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/php_pqconn.c b/src/php_pqconn.c index 10eb5d4..16d3f77 100644 --- a/src/php_pqconn.c +++ b/src/php_pqconn.c @@ -1736,6 +1736,7 @@ static PHP_METHOD(pqconn, startTransactionAsync) { php_pq_object_addref(obj TSRMLS_CC); txn->conn = obj; + txn->open = 1; txn->isolation = isolation; txn->readonly = readonly; txn->deferrable = deferrable; -- 2.30.2