iliaa           Wed Oct 12 11:03:03 2005 EDT

  Modified files:              (Branch: PHP_5_1)
    /php-src/ext/pdo_dblib      dblib_stmt.c 
    /php-src    NEWS 
  Log:
  MFH: Fixed bug #34758 (PDO_DBLIB did not implement rowCount()).
  
  
http://cvs.php.net/diff.php/php-src/ext/pdo_dblib/dblib_stmt.c?r1=1.6&r2=1.6.2.1&ty=u
Index: php-src/ext/pdo_dblib/dblib_stmt.c
diff -u php-src/ext/pdo_dblib/dblib_stmt.c:1.6 
php-src/ext/pdo_dblib/dblib_stmt.c:1.6.2.1
--- php-src/ext/pdo_dblib/dblib_stmt.c:1.6      Wed Jul 20 01:27:27 2005
+++ php-src/ext/pdo_dblib/dblib_stmt.c  Wed Oct 12 11:03:02 2005
@@ -17,7 +17,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: dblib_stmt.c,v 1.6 2005/07/20 05:27:27 wez Exp $ */
+/* $Id: dblib_stmt.c,v 1.6.2.1 2005/10/12 15:03:02 iliaa Exp $ */
 
 #ifdef HAVE_CONFIG_H
 # include "config.h"
@@ -96,6 +96,8 @@
 
        ret = dbnextrow(H->link);
 
+       stmt->row_count = DBCOUNT(H->link);
+
     if (ret == NO_MORE_ROWS) {
        return 1;
     }
http://cvs.php.net/diff.php/php-src/NEWS?r1=1.2027.2.120&r2=1.2027.2.121&ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.120 php-src/NEWS:1.2027.2.121
--- php-src/NEWS:1.2027.2.120   Tue Oct 11 23:21:36 2005
+++ php-src/NEWS        Wed Oct 12 11:03:03 2005
@@ -62,6 +62,7 @@
 - Fixed bug #34785 (subclassing of mysqli_stmt does not work). (Georg)
 - Fixed bug #34777 (Crash in dblib when fetching non-existent error info). 
(Ilia)
 - Fixed bug #34771 (strtotime() fails with 1-12am/pm). (Derick)
+- Fixed bug #34758 (PDO_DBLIB did not implement rowCount()). (Ilia)
 - Fixed bug #34757 (iconv_substr() gives "Unknown error" when offset > string 
   length). (Tony)
 - Fixed bug #34742 (ftp wrapper failures caused from segmented command 

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

Reply via email to