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

--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to