diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2006-12-18 17:56:25 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2006-12-18 17:56:25 +0000 |
| commit | d257696604ed9c5eaf9f820bf8853cb5d54a3b60 (patch) | |
| tree | 84d5fc138fca1541e54eef60df3cd8e0073b0af8 /ext/pdo_pgsql/pgsql_driver.c | |
| parent | b9531d5b070412226677ec94ab49e1cee4b80395 (diff) | |
| download | php-git-d257696604ed9c5eaf9f820bf8853cb5d54a3b60.tar.gz | |
Fixed bug #39845 (Persistent connections generate a warning in pdo_pgsql).
Diffstat (limited to 'ext/pdo_pgsql/pgsql_driver.c')
| -rw-r--r-- | ext/pdo_pgsql/pgsql_driver.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ext/pdo_pgsql/pgsql_driver.c b/ext/pdo_pgsql/pgsql_driver.c index 6adb2efdf9..d9ab45c7ef 100644 --- a/ext/pdo_pgsql/pgsql_driver.c +++ b/ext/pdo_pgsql/pgsql_driver.c @@ -633,6 +633,11 @@ static zend_function_entry *pdo_pgsql_get_driver_methods(pdo_dbh_t *dbh, int kin } } +static int pdo_pgsql_set_attr(pdo_dbh_t *dbh, long attr, zval *val TSRMLS_DC) +{ + return 0; +} + static struct pdo_dbh_methods pgsql_methods = { pgsql_handle_closer, pgsql_handle_preparer, @@ -641,7 +646,7 @@ static struct pdo_dbh_methods pgsql_methods = { pgsql_handle_begin, pgsql_handle_commit, pgsql_handle_rollback, - NULL, /* set_attr */ + pdo_pgsql_set_attr, pdo_pgsql_last_insert_id, pdo_pgsql_fetch_error_func, pdo_pgsql_get_attribute, |
