#50833 [Opn->Bgs]: PDOStatement::fetchColumn() throws a PDOException when 0 rows returned

From: Date: Wed, 27 Jan 2010 12:46:47 +0000
Subject: #50833 [Opn->Bgs]: PDOStatement::fetchColumn() throws a PDOException when 0 rows returned
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-3788@lists.php.net to get a copy of this message
ID: 50833 Updated by: degeberg@php.net Reported By: thiago@php.net -Status: Open +Status: Bogus Bug Type: Documentation problem PHP Version: Irrelevant New Comment: That is incorrect according to my tests. Previous Comments: ------------------------------------------------------------------------ [2010-01-25 12:42:00] thiago@php.net 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 this bug report at http://bugs.php.net/?id=50833&edit=1

« previous php.doc.bugs (#3788) next »