com php-src: put missing prototype and fix ts build: ext/pdo_pgsql/pgsql_driver.c

From: Date: Sun, 14 Aug 2016 20:35:01 +0000
Subject: com php-src: put missing prototype and fix ts build: ext/pdo_pgsql/pgsql_driver.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-93785@lists.php.net to get a copy of this message
Commit: 4a4422740f917f46e0860024667042733f61152b Author: Anatol Belski <ab@php.net> Sun, 14 Aug 2016 22:35:01 +0200 Parents: 5c7f802e7e56ea743d1d7575951cea8ad6f3c018 Branches: PHP-5.6 PHP-7.0 PHP-7.1 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4a4422740f917f46e0860024667042733f61152b Log: put missing prototype and fix ts 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 b27753b..af4e6d7 100644 --- a/ext/pdo_pgsql/pgsql_driver.c +++ b/ext/pdo_pgsql/pgsql_driver.c @@ -44,6 +44,8 @@ #include "php_pdo_pgsql_int.h" #include "zend_exceptions.h" +static int pgsql_handle_in_transaction(pdo_dbh_t *dbh TSRMLS_DC); + static char * _pdo_pgsql_trim_message(const char *message, int persistent) { register int i = strlen(message)-1; @@ -363,7 +365,7 @@ static char *pdo_pgsql_last_insert_id(pdo_dbh_t *dbh, const char *name, unsigned zend_bool savepoint = 0; if (name == NULL) { - savepoint = pgsql_handle_in_transaction(dbh); + savepoint = pgsql_handle_in_transaction(dbh TSRMLS_CC); if (savepoint) { /* The savepoint is overwritten every time. */

« previous php.cvs (#93785) next »