|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-11-21 15:25 UTC] ilia at prohost dot org
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 18:00:01 2025 UTC |
Description: ------------ Hi! This bug was verified with PHP-5.1RC6. when PRAGMA query for SQLite3 can be return several rows, the rowCount method return 0. Reproduce code: --------------- $res = $PDO_DB->query("PRAGMA table_info(t1);"); echo "nb : ".$res->rowCount()."<br>"; Expected result: ---------------- the number of row, in this example, this will be return the number of table's columns. Actual result: -------------- nb : 0