diff options
| author | Derick Rethans <derick@php.net> | 2006-02-13 15:53:36 +0000 |
|---|---|---|
| committer | Derick Rethans <derick@php.net> | 2006-02-13 15:53:36 +0000 |
| commit | 1a170a3de2b64fb4ec76054040798cadc4383eaf (patch) | |
| tree | 06ce4d425463b898520ce89ddb65173f31b4aa51 /ext/pdo_pgsql | |
| parent | 1e05eec591b8f1d9fdf0530c040ad3a684966a92 (diff) | |
| download | php-git-1a170a3de2b64fb4ec76054040798cadc4383eaf.tar.gz | |
- Fixed bug #36382 (PDO/PgSQL's getColumnMeta() crashes).
Diffstat (limited to 'ext/pdo_pgsql')
| -rw-r--r-- | ext/pdo_pgsql/pgsql_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_pgsql/pgsql_driver.c b/ext/pdo_pgsql/pgsql_driver.c index c9fe4b174e..3eac6ede84 100644 --- a/ext/pdo_pgsql/pgsql_driver.c +++ b/ext/pdo_pgsql/pgsql_driver.c @@ -670,7 +670,7 @@ static int pdo_pgsql_handle_factory(pdo_dbh_t *dbh, zval *driver_options TSRMLS_ H->pgoid = -1; dbh->methods = &pgsql_methods; - dbh->alloc_own_columns = 0; + dbh->alloc_own_columns = 1; dbh->max_escaped_char_length = 2; ret = 1; |
