Skip to content

[fix](protocol) CLIENT_MULTI_STATEMENTS not used actually (#39308)#39370

Merged
yiguolei merged 1 commit intoapache:branch-2.1from
cambyzju:fix-2.1-0814
Aug 15, 2024
Merged

[fix](protocol) CLIENT_MULTI_STATEMENTS not used actually (#39308)#39370
yiguolei merged 1 commit intoapache:branch-2.1from
cambyzju:fix-2.1-0814

Conversation

@cambyzju
Copy link
Contributor

pick #39308 to branch-2.1

in pr apache#6759, we try to output
result depend CLIENT_MULTI_STATEMENTS,

but in `MysqlProto::negotiate` function, we call
`context.setCapability(context.getServerCapability())` function set
capability in context use server default flags instead of client flags.

So here, we save CLIENT_MULTI_STATEMENTS flag in MysqlChannel like flag
CLIENT_DEPRECATE_EOF
@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@cambyzju
Copy link
Contributor Author

run buildall

@yiguolei yiguolei merged commit 265bf9d into apache:branch-2.1 Aug 15, 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