Open ti-chi-bot opened 8 hours ago
This cherry pick PR is for a release branch and has not yet been approved by triage owners.
Adding the do-not-merge/cherry-pick-not-approved
label.
To merge this cherry pick:
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Defined2014 Once this PR has been reviewed and has the lgtm label, please assign wjhuang2016 for approval. For more information see the Code Review Process.
The full list of commands accepted by this bot can be found here.
Timeline:
2024-11-22 04:21:53.733709062 +0000 UTC m=+178301.353363599
: :ballot_box_with_check: agreed by Defined2014.All modified and coverable lines are covered by tests :white_check_mark:
Please upload report for BASE (
release-8.5@de49db5
). Learn more about missing BASE report.
🚨 Try these New Features:
This is an automated cherry-pick of #57590
What problem does this PR solve?
Issue Number: close #57588
Problem Summary:
Didn't set
isUpdate = true
before, so it will use the last value in datum as_tidb_rowid
which caused primary key duplicate.If we don't do this during add columns,
len(r) == len(cols)
always equal to true, so it's safe.What changed and how does it work?
Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.