Skip to content

Multi-statement support#4486

Merged
sougou merged 2 commits intovitessio:masterfrom
dweitzman:multi_stmt
Dec 22, 2018
Merged

Multi-statement support#4486
sougou merged 2 commits intovitessio:masterfrom
dweitzman:multi_stmt

Conversation

@dweitzman
Copy link
Copy Markdown
Collaborator

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.

Signed-off-by: David Weitzman <dweitzman@pinterest.com>
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 <dweitzman@pinterest.com>
@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