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

mysqlconn: switching to new library for constants. #2526

Merged
merged 6 commits into from
Feb 1, 2017

Conversation

alainjobart
Copy link
Contributor

@alainjobart alainjobart commented Feb 1, 2017

  • fixing error code for mysqlconn.Connect. Turns out TCP socket error code is different from Unix socket for mysql client.
  • move SSL params to conn_params.
  • refactoring all error codes into the new library.
  • minor change in QueryServiceStats to remove a lint warning.

Turns out TCP socket error code is different from Unix socket.
That removes a bunch of dependencies, so have to do an anonymous import
in dbconfigs.
That way the context can be the first parameter, and remove the warning.
@alainjobart alainjobart changed the title Fixing error code for connect. mysqlconn: switching to new library for constants. Feb 1, 2017
@alainjobart
Copy link
Contributor Author

@sougou this is probably the last of these clean-up reviews. Now the old go/mysql is only imported in a couple places so the implementation can be used by default.

@sougou
Copy link
Contributor

sougou commented Feb 1, 2017

LGTM

Approved with PullApprove

@alainjobart alainjobart merged commit f827c2c into vitessio:master Feb 1, 2017
@alainjobart alainjobart deleted the mysqlconn branch February 1, 2017 20:23
frouioui pushed a commit to planetscale/vitess that referenced this pull request Nov 21, 2023
…n Workflows: make sequence tables follow routing rules (vitessio#2528)

* backport of 2526

* Adjust new workflows for vitess-private

Signed-off-by: Matt Lord <mattalord@gmail.com>

* Use basic vs simple everywhere for new workflow

Signed-off-by: Matt Lord <mattalord@gmail.com>

---------

Signed-off-by: Matt Lord <mattalord@gmail.com>
Co-authored-by: Matt Lord <mattalord@gmail.com>
frouioui pushed a commit to planetscale/vitess that referenced this pull request Mar 26, 2024
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