derick          Mon Feb 13 15:53:37 2006 UTC

  Modified files:              (Branch: PHP_5_1)
    /php-src    NEWS 
    /php-src/ext/pdo_pgsql      pgsql_driver.c 
  Log:
  - Fixed bug #36382 (PDO/PgSQL's getColumnMeta() crashes).
  
  
http://cvs.php.net/viewcvs.cgi/php-src/NEWS?r1=1.2027.2.413&r2=1.2027.2.414&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.413 php-src/NEWS:1.2027.2.414
--- php-src/NEWS:1.2027.2.413   Mon Feb 13 14:49:26 2006
+++ php-src/NEWS        Mon Feb 13 15:53:36 2006
@@ -20,7 +20,9 @@
 - Added new mysqli constants for BIT and NEW_DECIMAL field types:
   MYSQLI_TYPE_NEWDECIMAL and MYSQLI_TYPE_BIT. FR #36007. (Georg)
 - Added ReflectionClass::newInstanceArgs($args). (Marcus)
-- Added imap_savebody() that allows message body to be written to a file. 
(Mike)
+- Added imap_savebody() that allows message body to be written to a file.
+  (Mike)
+- Fixed bug #36382 (PDO/PgSQL's getColumnMeta() crashes). (Derick)
 - Fixed bug #36359 (splFileObject::fwrite() doesn't write when no data length 
   specified). (Tony)
 - Fixed bug #36351 (parse_url() does not parse numeric paths properly). (Ilia)
http://cvs.php.net/viewcvs.cgi/php-src/ext/pdo_pgsql/pgsql_driver.c?r1=1.53.2.11&r2=1.53.2.12&diff_format=u
Index: php-src/ext/pdo_pgsql/pgsql_driver.c
diff -u php-src/ext/pdo_pgsql/pgsql_driver.c:1.53.2.11 
php-src/ext/pdo_pgsql/pgsql_driver.c:1.53.2.12
--- php-src/ext/pdo_pgsql/pgsql_driver.c:1.53.2.11      Sun Jan 29 17:35:54 2006
+++ php-src/ext/pdo_pgsql/pgsql_driver.c        Mon Feb 13 15:53:36 2006
@@ -18,7 +18,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: pgsql_driver.c,v 1.53.2.11 2006/01/29 17:35:54 iliaa Exp $ */
+/* $Id: pgsql_driver.c,v 1.53.2.12 2006/02/13 15:53:36 derick Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -670,7 +670,7 @@
        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;

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to