PDOStatement::rowCount() bug?
| From: | Paul M Foster | Date: | Tue, 23 Feb 2010 02:50:30 +0000 |
| Subject: | PDOStatement::rowCount() bug? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-302287@lists.php.net to get a copy of this message | ||
Using MySQL 5.075, PHP 5.25 on Debian unstable.
Has anyone noticed, when issuing a PDOStatement::rowCount() call after a
DELETE, UPDATE or INSERT, the return is uniformly zero, rather than the
actual number of rows affected?
If so, is there a simple workaround?
Paul
--
Paul M. Foster