]> granicus.if.org Git - php/commitdiff
fix ZTS build
authorAnatol Belski <ab@php.net>
Fri, 31 Oct 2014 18:53:16 +0000 (19:53 +0100)
committerAnatol Belski <ab@php.net>
Fri, 31 Oct 2014 18:53:16 +0000 (19:53 +0100)
ext/pdo_pgsql/pgsql_driver.c

index 9638c72fe62bfb68953349b22134c48a9faf559f..17757a7b2d2bb913b08ffddad5369b2f74c5bf94 100644 (file)
@@ -503,7 +503,7 @@ static int pgsql_handle_commit(pdo_dbh_t *dbh TSRMLS_DC)
        /* When deferred constraints are used the commit could
           fail, and a ROLLBACK implicitly ran. See bug #67462 */
        if (!ret) {
-               dbh->in_txn = pgsql_handle_in_transaction(dbh);
+               dbh->in_txn = pgsql_handle_in_transaction(dbh TSRMLS_CC);
        }
 
        return ret;