diff options
| author | andrewnester <andrew.nester.dev@gmail.com> | 2017-01-20 21:39:45 +0300 |
|---|---|---|
| committer | Joe Watkins <krakjoe@php.net> | 2017-01-20 20:10:55 +0000 |
| commit | 21ac79e94bd0335bf885b807e09c4d86d75d776a (patch) | |
| tree | 338c393d034bcdb6f0e7be06d2efc548bd74d6d3 /ext/pdo_pgsql/pgsql_driver.c | |
| parent | 2e3d68ed1ba9097d1b8ac64c2a5af7004faa2796 (diff) | |
| download | php-git-21ac79e94bd0335bf885b807e09c4d86d75d776a.tar.gz | |
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 7e2c97d82a..b04cadeda9 100644 --- a/ext/pdo_pgsql/pgsql_driver.c +++ b/ext/pdo_pgsql/pgsql_driver.c @@ -391,7 +391,6 @@ static char *pdo_pgsql_last_insert_id(pdo_dbh_t *dbh, const char *name, size_t * (void)PQexec(H->server, "ROLLBACK TO SAVEPOINT _php_lastid_savepoint"); } pdo_pgsql_error(dbh, status, pdo_pgsql_sqlstate(res)); - *len = spprintf(&id, 0, ZEND_LONG_FMT, (zend_long) H->pgoid); } if (savepoint) { |
