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 duplicate definition of mysql_connect by renaming local version t… #145

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

glynastill
Copy link
Contributor

…o mysql_connect_fdw.

When compiling against MariaDB 10.23.1 on Debian the definition of mysql_connect in the mysql_fdw source conflicts with the definition in mysql.h; simple workaround with a rename.

…o mysql_connect_fdw.

When compiling against MariaDB 10.23.1 on Debian the definition of mysql_connect in the mysql_fdw source conflicts with the definition in mysql.h; simple workaround with a rename.
@mkgrgis
Copy link

mkgrgis commented Feb 14, 2023

@jeevanchalke, any decision? It's also my problem with MariaDB.

@jeevanchalke
Copy link
Contributor

Looks reasonable. We will take it further. Thanks.

jeevanchalke added a commit that referenced this pull request Feb 15, 2023
On MariaDB, mysql.h do have function named mysql_connect()
conflicting with our version.  So rename it.

Reported on GitHub through pull request #145 by
Glyn Astill (glynastill).  Another user, Михаил (mkgrgis),
also requested these changes.

Glyn Astill, revised by Jeevan Chalke.
@jeevanchalke
Copy link
Contributor

Pushed revised patch.
Please confirm and close this request.

Thanks.

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.

3 participants