[php-src] PR #23938: ext/pdo: Drop the previous result when execute() fails
| From: | iliaal | Date: | Sat, 26 Sep 2026 22:17:50 +0000 |
| Subject: | [php-src] PR #23938: ext/pdo: Drop the previous result when execute() fails | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-38849@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/23938
Author: iliaal
PDOStatement::execute() returned false on a bind, parse, or driver failure without clearing the
executed flag, so a later fetch returned rows from the previous success. The cursor is closed and
the flag cleared. A failed column describe still returns false without a second warning.