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

Fix compatibility with MariaDB 10.3 #291

Merged
merged 6 commits into from Jan 9, 2019
Merged

Conversation

dveeden
Copy link
Collaborator

@dveeden dveeden commented Jan 7, 2019

Fixes #275

@pali
Copy link
Member

pali commented Jan 7, 2019

This looks like an another hack which is going to be broken in next releases... Touching internal members of MYSQL structures is not really a good idea. And even worse is touching internal members of structure after calling mysql_close() function on it.

@dveeden
Copy link
Collaborator Author

dveeden commented Jan 7, 2019

@pali see my comment on the issue.

This is because calling mysql_stmt_prepare() after calling mysql_close()
is not safe and is causing segfaults when running with MariaDB 10.3 libs.
@dveeden dveeden merged commit 998cd6a into perl5-dbi:master Jan 9, 2019
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.

None yet

2 participants