Re: cvs: php-src(PHP_5_2) / NEWS /ext/pdo_mysql mysql_statement.c

From: Date: Sun, 15 Apr 2007 17:07:15 +0000
Subject: Re: cvs: php-src(PHP_5_2) / NEWS /ext/pdo_mysql mysql_statement.c
References: 1 2  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-43891@lists.php.net to get a copy of this message
Its not really an empty results, but rather a fetchAll() on a result of an exec() statement where there is no result set. Without emulation enabled this generates a proper error (as indicated in the bug report), however with emulation enabled it does not report any errors. This patch fixes that misbehavior. On 15-Apr-07, at 1:03 PM, Lukas Kahwe Smith wrote:
Ilia Alshanetsky wrote:
iliaa Sun Apr 15 16:50:42 2007 UTC
  Modified files:              (Branch: PHP_5_2)
    /php-src	NEWS     /php-src/ext/pdo_mysql	mysql_statement.c   Log:
Fixed bug #40935 (pdo_mysql does not raise an exception on empty fetchAll()).
Why should there be an exception for a fetchAll() call in an empty result? Or am I misunderstanding the commit message? regards, Lukas
Ilia Alshanetsky

« previous php.cvs (#43891) next »