branch-3.1: [fix](mysql protocol)Set more stmt exists flag correctly when forwardto master. #55711#55871
Merged
morrySnow merged 1 commit intoapache:branch-3.1from Sep 11, 2025
Merged
Conversation
… to master. (apache#55711) When execute multiple statements in one batch and CLIENT_MULTI_STATEMENTS is set, Doris server need to set SERVER_MORE_RESULTS_EXISTS flag in the return packet before the last statement. But when the Observer forward stmt to Master, this SERVER_MORE_RESULTS_EXISTS is not set, cause the following statements failed to execute. This pr forward a boolean value to Master, so the Master FE knows it is the last statement or not, and could set SERVER_MORE_RESULTS_EXISTS correctly.
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
Contributor
Author
|
run buildall |
Contributor
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
Contributor
Author
|
run feut |
TPC-H: Total hot run time: 32833 ms |
Contributor
FE UT Coverage ReportIncrement line coverage |
TPC-DS: Total hot run time: 193683 ms |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
ClickBench: Total hot run time: 29.38 s |
Contributor
Author
|
run cloud_p0 |
1 similar comment
Contributor
Author
|
run cloud_p0 |
Contributor
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
1 similar comment
Contributor
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
morrySnow
approved these changes
Sep 11, 2025
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
backport: #55711