X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=src%2Fphp_pqconn.c;h=16d3f772c92ad9746bfeecfb941a0257526d937c;hp=10eb5d42d8a392eab8ebdd080fc59ef2ec856430;hb=18f89e2c907e17962ec4bb99d5c9b56b17678a06;hpb=05da505f8005d3e65d3d5ad2cf143e8f36b425a3 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;