#50833 [NEW]: PDOStatement::fetchColumn() throws a PDOException when 0 rows returned
| From: | thiago@php.net | Date: | Mon, 25 Jan 2010 12:42:00 +0000 |
| Subject: | #50833 [NEW]: PDOStatement::fetchColumn() throws a PDOException when 0 rows returned | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-3775@lists.php.net to get a copy of this message | ||
From: thiago@php.net
Operating system:
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: PDOStatement::fetchColumn() throws a PDOException when 0 rows returned
Description:
------------
According to note 95833, from casey AT yahoo DOT com:
"PDOStatement::fetchColumn() will throw a PDOException if there are zero
rows returned from the database, and presumably when there's any other
sort of error encountered."
--
Edit bug report at http://bugs.php.net/?id=50833&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50833&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50833&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50833&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=50833&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50833&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=50833&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=50833&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=50833&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=50833&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=50833&r=support
Expected behavior: http://bugs.php.net/fix.php?id=50833&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=50833&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=50833&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=50833&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50833&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=50833&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=50833&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=50833&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=50833&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=50833&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=50833&r=mysqlcfg