felipe          Thu Oct  9 12:59:47 2008 UTC

  Modified files:              
    /php-src/ext/pdo    pdo_dbh.c 
  Log:
  - Fixed bug pecl#9641 (Unable to add driver specific methods to PDOStatement)
  
http://cvs.php.net/viewvc.cgi/php-src/ext/pdo/pdo_dbh.c?r1=1.152&r2=1.153&diff_format=u
Index: php-src/ext/pdo/pdo_dbh.c
diff -u php-src/ext/pdo/pdo_dbh.c:1.152 php-src/ext/pdo/pdo_dbh.c:1.153
--- php-src/ext/pdo/pdo_dbh.c:1.152     Tue Sep 16 23:34:31 2008
+++ php-src/ext/pdo/pdo_dbh.c   Thu Oct  9 12:59:47 2008
@@ -18,7 +18,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: pdo_dbh.c,v 1.152 2008/09/16 23:34:31 johannes Exp $ */
+/* $Id: pdo_dbh.c,v 1.153 2008/10/09 12:59:47 felipe Exp $ */
 
 /* The PDO Database Handle Class */
 
@@ -1188,8 +1188,7 @@
        if (!dbh || !dbh->methods || !dbh->methods->get_driver_methods) {
                return 0;
        }
-       funcs = dbh->methods->get_driver_methods(dbh,
-                       PDO_DBH_DRIVER_METHOD_KIND_DBH TSRMLS_CC);
+       funcs = dbh->methods->get_driver_methods(dbh, kind TSRMLS_CC);
        if (!funcs) {
                return 0;
        }



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

Reply via email to