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

Abstract MySQL types #36

Merged
merged 40 commits into from Oct 8, 2018
Merged

Abstract MySQL types #36

merged 40 commits into from Oct 8, 2018

Conversation

kilnerm
Copy link
Contributor

@kilnerm kilnerm commented Sep 27, 2018

This PR abstracts the mysql data-types that changed between v5 and v8.

It also updates to use the pkgConfig functionality to remove the need for specifying explicit paths to headers and link libraries.

@kilnerm kilnerm changed the title Shim test Abstract MySQL types Oct 2, 2018
else
export DEBIAN_FRONTEND="noninteractive"
if [[ $MYSQL_VER == 5 ]]; then
mysql --version || { apt-get update && apt-get install -y pkg-config mysql-server libmysqlclient-dev && service mysql start && mysql --version; }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this going to break once Ubuntu starts installing v8 by default? (or do we just fix it if and when that happens)

Copy link
Contributor

@djones6 djones6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code changes look good, and I can see they work on macOS. There's a wrinkle to be worked out with the travis for mysql v8 on Ubuntu.

build.sh Show resolved Hide resolved
@kilnerm kilnerm merged commit 7dea2f5 into next Oct 8, 2018
@djones6 djones6 deleted the shim_test branch October 9, 2018 09:29
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