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

Compilation fixes for MySQL 5.5 #1

Closed
wants to merge 3 commits into from
Closed

Conversation

vadz
Copy link

@vadz vadz commented Jul 19, 2017

I wanted to have my own build of the connector for debugging purposes on a Debian Jessie system, which only comes with MySQL 5.5.55 headers and libraries, so I've applied a couple of fixes to make the latest version to compile with this older version of MySQL.

This shouldn't change anything with the latest MySQL, but I couldn't test it.

vadz added 3 commits July 19, 2017 18:06
This was apparently added in 5.6.6, so put a guard around the code using
it checking for the corresponding MYSQL_VERSION_ID.

See https://bugs.mysql.com/bug.php?id=74706
The field can't have the same name as the macro with the same name
defined in mysql.h (at least in MySQL 5.5), so rename it to fix
compilation.
This fixes build with pre-5.7 MySQL versions after the changes of
e11e67f.
@mysql-oca-bot
Copy link

Hi, thank you for submitting this pull request. In order to consider your code we need you to sign the Oracle Contribution Agreement (OCA). Please review the details and follow the instructions at http://www.oracle.com/technetwork/community/oca-486395.html
Please make sure to include your MySQL bug system user (email) in the returned form.
Thanks

@mysql-oca-bot
Copy link

Hi, thank you for your contribution. Please confirm this code is submitted under the terms of the OCA (Oracle's Contribution Agreement) you have previously signed by cutting and pasting the following text as a comment:
"I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it."
Thanks

@vadz
Copy link
Author

vadz commented Aug 9, 2017

As requested:

I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

@mysql-oca-bot
Copy link

Hi, thank you for your contribution. Your code has been assigned to an internal queue. Please follow
bug http://bugs.mysql.com/bug.php?id=87413 for updates.
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
2 participants