Home » Database » MDB » Bug #670
fetchCol error on empty result
Details
| Submitted | 2004-02-02 23:15 UTC |
|---|---|
| From | ths at php dot net |
| Assigned | lsmith |
| Status | Closed |
| Package | MDB |
| PHP Version | 4.3.4 |
| OS | WinXP |
| Roadmaps | (Not assigned) |
Comments
[2004-02-02 23:15 UTC] ths at php dot net
Description:
------------
fetchCol() trows an MDB_ERROR_TRUNCATED when the query should returns an empty resultset.
Maybe because fetchinto returns as first row:
array(1) { [0]=> NULL } ??
latest CVS version, mySQL.
[2004-06-18 15:35 UTC] smith at backendmedia dot com
yes thats the expected behavoir. anything else would require special attention which would make the common case slower. This issue is not related to fetchCol obviously so if you have any further comments please open a new bug report.