From: Michael Wallner Date: Wed, 3 Dec 2014 10:07:31 +0000 (+0100) Subject: Merge remote-tracking branch 'DaveRandom/fix/txn-async-open' X-Git-Tag: v0.6.0RC1~22 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=56e9738f80aee54b362f90a42c724abad5378e31;hp=863e93c99c953d39665df785cd3a9486d16c995b;p=m6w6%2Fext-pq Merge remote-tracking branch 'DaveRandom/fix/txn-async-open' * DaveRandom/fix/txn-async-open: 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;