test: cover ODKU unique-key conflict with auto increment - #24569
Conversation
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
Merge Queue Status
This pull request spent 38 minutes 5 seconds in the queue, with no time running CI. Waiting for
All conditions
ReasonPull request #24569 has been dequeued Queue conditions are not satisfied:
HintYou should look at the reason for the failure and decide if the pull request needs to be fixed or if you want to requeue it. |
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
Merge Queue Status
This pull request spent 49 minutes 23 seconds in the queue, with no time running CI. ReasonPull request #24569 has been dequeued Queue conditions are not satisfied:
HintYou should look at the reason for the failure and decide if the pull request needs to be fixed or if you want to requeue it. |
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
Merge Queue Status
This pull request spent 1 hour 3 minutes 48 seconds in the queue, including 1 hour 2 minutes 50 seconds running CI. Required conditions to merge
|
What type of PR is this?
Which issue(s) this PR fixes:
Closes #23145
issue #23145
What this PR does / why we need it:
Adds BVT coverage for the current MatrixOne behavior of
INSERT ... ON DUPLICATE KEY UPDATEon anAUTO_INCREMENTprimary-key table when the conflict is on a secondaryUNIQUEkey.Changes:
id AUTO_INCREMENT PRIMARY KEY,code UNIQUE, and a counter column.Validation:
git diff --checkgo test ./pkg/sql/parsers -run 'TestSplitSqlBySemicolon|TestParseSQLs|TestParse' -count=1go test ./pkg/sql/parsers/dialect/mysql -run TestDebug -count=1Note: I could not run the BVT locally because
mo-testeris not available in this workspace.