Re: cvs: php-src(PHP_5_2) / NEWS /ext/pdo_mysql mysql_statement.c
| From: | Ilia Alshanetsky | 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:Ilia Alshanetskyiliaa Sun Apr 15 16:50:42 2007 UTCWhy should there be an exception for a fetchAll() call in an empty result? Or am I misunderstanding the commit message? regards, LukasModified 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()).