executor: fix execute failed when table schema changed#33519
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. DetailsReviewer can indicate their review by submitting an approval review. |
cfzjywxk
left a comment
There was a problem hiding this comment.
We could use the bench bot to verify if there's regression risk.
|
/run-unit-test |
|
Code Coverage Details: https://codecov.io/github/pingcap/tidb/commit/b55685523b2753a87047539d520bbe1b256d1e62 |
tiancaiamao
left a comment
There was a problem hiding this comment.
LGTM
Do we have a schema version together with the ColumnInfo so we can still reuse the objects and at the same time avoid the bug?
I did not found it. Theoretically yes, we can add it but it will be more complicated and may cause some potential bugs |
|
/merge |
|
This pull request has been accepted and is ready to merge. DetailsCommit hash: b556855 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
|
cherry pick to release-4.0 in PR #33572 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
|
cherry pick to release-5.0 in PR #33573 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
|
cherry pick to release-5.1 in PR #33574 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
|
cherry pick to release-5.2 in PR #33575 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
|
cherry pick to release-5.3 in PR #33576 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
|
cherry pick to release-5.4 in PR #33577 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
|
cherry pick to release-6.0 in PR #33578 |
…ap#33519) (pingcap#33577)" This reverts commit 4001a16.
What problem does this PR solve?
Issue Number: close #33509
Problem Summary:
What is changed and how it works?
revert some changes in #12388 that will cause some panic
Check List
Tests
Side effects
resultSet's columns cache is disabled for different query that will cause a tiny performance down.
Documentation
Release note