iliaa           Mon Dec 18 17:56:26 2006 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/ext/pdo_pgsql      pgsql_driver.c 
    /php-src    NEWS 
  Log:
  Fixed bug #39845 (Persistent connections generate a warning in pdo_pgsql).
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/pdo_pgsql/pgsql_driver.c?r1=1.53.2.14.2.5&r2=1.53.2.14.2.6&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.14.2.5 
php-src/ext/pdo_pgsql/pgsql_driver.c:1.53.2.14.2.6
--- php-src/ext/pdo_pgsql/pgsql_driver.c:1.53.2.14.2.5  Wed Nov 29 15:45:58 2006
+++ php-src/ext/pdo_pgsql/pgsql_driver.c        Mon Dec 18 17:56:25 2006
@@ -18,7 +18,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: pgsql_driver.c,v 1.53.2.14.2.5 2006/11/29 15:45:58 iliaa Exp $ */
+/* $Id: pgsql_driver.c,v 1.53.2.14.2.6 2006/12/18 17:56:25 iliaa Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -633,6 +633,11 @@
        }
 }
 
+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 @@
        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,
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.438&r2=1.2027.2.547.2.439&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.438 php-src/NEWS:1.2027.2.547.2.439
--- php-src/NEWS:1.2027.2.547.2.438     Mon Dec 18 14:56:40 2006
+++ php-src/NEWS        Mon Dec 18 17:56:25 2006
@@ -65,6 +65,8 @@
 - Fixed wrong signature initialization in imagepng (Takeshi Abe)
 - Added optimization for imageline with horizontal and vertial lines (Pierre)
 - Fixed bug #39846 (Invalid IPv4 treated as valid). (Ilia)
+- Fixed bug #39845 (Persistent connections generate a warning in pdo_pgsql).
+  (Ilia)
 - Fixed bug #39816 (apxs2filter ignores httpd.conf & .htaccess php config
   settings). (Ilia)
 - Fixed bug #39797 (virtual() does not reset changed INI settings). (Ilia)

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

Reply via email to