diff options
author | Joe Watkins <krakjoe@php.net> | 2017-01-20 20:11:26 +0000 |
---|---|---|
committer | Joe Watkins <krakjoe@php.net> | 2017-01-20 20:11:49 +0000 |
commit | d6feb2edbdc95b2db1ec09f011595de0204b2fa1 (patch) | |
tree | c104432ac0053eb7527287089fcdcc392a68c2ce /ext/pdo_pgsql/pgsql_driver.c | |
parent | d6c9f91e2ef0e4278a17c0c242790f5f4433be3e (diff) | |
parent | 21ac79e94bd0335bf885b807e09c4d86d75d776a (diff) | |
download | php-git-d6feb2edbdc95b2db1ec09f011595de0204b2fa1.tar.gz |
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fixed #73959 - lastInsertId fails to throw an exception in pdsql
Diffstat (limited to 'ext/pdo_pgsql/pgsql_driver.c')
-rw-r--r-- | ext/pdo_pgsql/pgsql_driver.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/pdo_pgsql/pgsql_driver.c b/ext/pdo_pgsql/pgsql_driver.c index 045d32e7e5..52a9b8f285 100644 --- a/ext/pdo_pgsql/pgsql_driver.c +++ b/ext/pdo_pgsql/pgsql_driver.c @@ -379,7 +379,6 @@ static char *pdo_pgsql_last_insert_id(pdo_dbh_t *dbh, const char *name, size_t * *len = PQgetlength(res, 0, 0); } else { pdo_pgsql_error(dbh, status, pdo_pgsql_sqlstate(res)); - *len = spprintf(&id, 0, ZEND_LONG_FMT, (zend_long) H->pgoid); } if (res) { |