com php-src: fix ZTS build: ext/pdo_pgsql/pgsql_driver.c
| From: | Anatol Belski | Date: | Fri, 31 Oct 2014 18:53:16 +0000 |
| Subject: | com php-src: fix ZTS build: ext/pdo_pgsql/pgsql_driver.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-82926@lists.php.net to get a copy of this message | ||
Commit: 1fc80d0ca7f4fbf826d11dbcaa1b3cd79e8351a0
Author: Anatol Belski <ab@php.net> Fri, 31 Oct 2014 19:53:16 +0100
Parents: 29ee69434122bcda8c904ff6fbde2b9c74332240
Branches: PHP-5.5 PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=1fc80d0ca7f4fbf826d11dbcaa1b3cd79e8351a0
Log:
fix ZTS build
Changed paths:
M ext/pdo_pgsql/pgsql_driver.c
Diff:
diff --git a/ext/pdo_pgsql/pgsql_driver.c b/ext/pdo_pgsql/pgsql_driver.c
index 9638c72..17757a7 100644
--- a/ext/pdo_pgsql/pgsql_driver.c
+++ b/ext/pdo_pgsql/pgsql_driver.c
@@ -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;