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
session, com_stmt: store and restore the params for cursor fetch #41441
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
d1a6927
to
a0830a7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It makes the specific case better, though not a complete fix for the whole related problem.
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: YangKeao <yangkeao@chunibyo.icu>
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 1963ef3
|
In response to a cherrypick label: new pull request created to branch |
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
In response to a cherrypick label: new pull request created to branch |
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
In response to a cherrypick label: new pull request created to branch |
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
In response to a cherrypick label: new pull request created to branch |
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
In response to a cherrypick label: new pull request created to branch |
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
…tch (pingcap#41441)" This reverts commit 5f8002f.
…tch (pingcap#41441)" This reverts commit 5f8002f.
…tch (pingcap#41441)" This reverts commit 5f8002f.
What problem does this PR solve?
Issue Number: close #40094
Problem Summary:
TiDB cannot handle concurrently running statements. This PR stores and restores the params.
What is changed and how it works?
Store and restore the prepared params in session
Check List
Tests
The following JDBC codes run without panic:
Release note