Skip to content

Fix PDOStatement->execute() failed, then execute successfully, errorInfo() information is incorrect #8627

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

Yurunsoft
Copy link
Contributor

@Yurunsoft Yurunsoft commented May 25, 2022

Fix #8626

This problem exists for both PHP 7.4, 8.0, 8.1

Reference:

if(!strncmp(dbh->query_stmt->error_code, PDO_ERR_NONE, sizeof(PDO_ERR_NONE))) goto fill_array;

@Yurunsoft Yurunsoft changed the title Fix #8626 Fix PDOStatement->execute() failed, then execute successfully, errorInfo() information is incorrect May 25, 2022
@devnexen
Copy link
Member

PHP 7.4 being no long supported, I suggest to retarget to PHP-8.0

@Yurunsoft Yurunsoft closed this May 25, 2022
@Yurunsoft
Copy link
Contributor Author

PHP 7.4 being no long supported, I suggest to retarget to PHP-8.0

This is the new pr: #8628

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants