Skip to content
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

Fail connection if mysqlnd is not available #971

Merged
merged 2 commits into from
May 24, 2023
Merged

Conversation

dregad
Copy link
Member

@dregad dregad commented May 18, 2023

Since 5.22.0, the mysqli driver relies on the mysqli_stmt_get_result() function, which is only available in the MySQL Native Driver, to execute queries.

An attempt to connect on a system using libmysqlclient should fail with an error message, to avoid problems down the line.

Fixes #967

Since 5.22.0, the mysqli driver relies on the mysqli_stmt_get_result()
function, which is only available in the MySQL Native Driver, to execute
queries.

An attempt to connect on a system using libmysqlclient should fail with
an error message, to avoid problems down the line.

Fixes #967
@dregad dregad changed the base branch from master to hotfix/5.22 May 24, 2023 10:05
@dregad dregad merged commit 86234de into hotfix/5.22 May 24, 2023
@dregad dregad deleted the i967-mysqlnd branch May 24, 2023 10:06
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.

Call to undefined method mysqli_stmt::get_result() when mysqlnd is not available
1 participant