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

Multi-statement support #4486

Merged
merged 2 commits into from
Dec 22, 2018
Merged

Multi-statement support #4486

merged 2 commits into from
Dec 22, 2018

Conversation

dweitzman
Copy link
Member

Seems like @yuananf didn't have time to finish landing the from master...yuananf:multi_query_bak, some of which was committed in #3683

This PR is basically the rest of that change plus a test.

As mentioned in the commit description, my primary motivation is to get rewriteBatchedStatements working with the connector-j Java driver for much better batch write performance.

This completes yuananf's work from vitessio#3683
which was split into several diffs and never fully landed.

One large benefit of multi-statement support is that the "rewriteBatchedStatements"
option in Java's connector-j driver doesn't work without it. There's a bug where
connector-j fails to check the server capabilities and assumes multi-statement support.

Signed-off-by: David Weitzman <[email protected]>
@dweitzman dweitzman requested a review from sougou as a code owner December 22, 2018 18:13
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.

2 participants