From: Chris Wright Date: Thu, 27 Nov 2014 16:18:47 +0000 (+0000) Subject: Mark transaction as open when started async X-Git-Tag: v0.6.0RC1~22^2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=18f89e2c907e17962ec4bb99d5c9b56b17678a06;p=m6w6%2Fext-pq Mark transaction as open when started async --- 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;