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

Concatenate batched commands #657

Closed
bgrainger opened this issue Jun 23, 2019 · 1 comment
Closed

Concatenate batched commands #657

bgrainger opened this issue Jun 23, 2019 · 1 comment
Assignees

Comments

@bgrainger
Copy link
Member

Enhancement to #650.

When the server doesn't support COM_MULTI (i.e., everything except MariaDB), concatenate as many commands as possible into one COM_QUERY packet. (This is only possible with the text protocol.)

This will provide the most efficient network I/O possible, and should allow multiple CommandType.Text and CommandType.StoredProcedure commands to be interleaved (which wasn't really possible before).

@bgrainger
Copy link
Member Author

Implemented in 378c4b8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant