Skip to content

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
Collaborator

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
Collaborator

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