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

COM_PREPARE - Single TCP response packet with all MySQL Packets #7713

Merged
merged 1 commit into from
Mar 19, 2021

Conversation

harshit-gangal
Copy link
Member

Description

For each column defination we send a seperate TCP packet containing the MySQL Packet.
This change is to send single TCP packet containing all the MySQL Packets for COM_PREPARE.
This is similar to what MySQL does.

image

Checklist

  • Tests were added or are not required
  • Documentation was added or is not required

Impacted Areas in Vitess

Components that this PR will affect:

  • Query Serving

…ommand

Signed-off-by: Harshit Gangal <harshit@planetscale.com>
@systay
Copy link
Collaborator

systay commented Mar 19, 2021

nice stuff! are the more situations where we could lump together mysql packets like this?

@harshit-gangal
Copy link
Member Author

nice stuff! are the more situations where we could lump together mysql packets like this?

Other place is COM_FIELD_LIST Response and COM_STMT_FETCH Response which currently we do not support.

@harshit-gangal harshit-gangal merged commit ef31a7a into vitessio:master Mar 19, 2021
@harshit-gangal harshit-gangal deleted the prepare-resp-packets branch March 19, 2021 15:01
@askdba askdba added this to the v10.0 milestone Mar 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants