Repository navigation
fix(sql): translate temporary DDL database lookup sentinel - #31019
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? |
…26a260e39f3ee657052d0ca3912ef6ec3836aaf
|
mo-bot review · Commit: "interrupted" |
…26a260e39f3ee657052d0ca3912ef6ec3836aaf
…26a260e39f3ee657052d0ca3912ef6ec3836aaf
|
mo-bot review · Commit: Review belongs to an older commit; it is not a review of the current head. |
|
mo-bot review · Commit: Review completed. Read the assessment. |
XuPeng-SH
left a comment
There was a problem hiding this comment.
mo-bot review · mo-bot-local · review
Commit: 0f2543da52231e10fbbbd3419b1b5aaca002413c
Assessment: approve
Reviewed the complete five-file delta and affected callers. Error translation belongs at the temporary-DDL boundary, preserves engine sentinel semantics and rollback ownership, and adds no work to successful SQL paths. No actionable findings remain.
Model: gpt-6-astra / xhigh
Session: 01a13dcf-1586-7a01-9000-d45e20995cf8 · slot 1 · generation 1
Validation:
-
Reconciled retained compile-package and vet receipts against byte-identical Go inputs: 1,554 root tests passed, including the new regression.
-
Isolation preflight passed. Verified 192 native inputs and compatible libraries through the repository provenance owner.
-
Exact BVT passed twice on the same ready instance: 16/16 statements each, with zero residual test databases.
-
MySQL-protocol checks passed twice for error 20105, committed temporary-table operations, and missing-database error 1049.
-
Source remained unchanged. Commands, fingerprints, exits, logs and artifacts were reconciled in /home/xupeng/.local/state/mo-bot/jobs/48042b60e2cab8915dc6dccd/attempt-1/validation-audit.json.
Limitations:
-
The linked issue body was absent from frozen evidence; its contract was assessed through the PR description and source.
-
Fresh runtime validation used one CPU CN. No concurrency or routing behavior changed; no performance benchmark was warranted.
Merge Queue Status
This pull request spent 2 hours 32 minutes 33 seconds in the queue, with no time running CI. ReasonThe merge conditions cannot be satisfied due to failing checks
Failing checks: HintYou may have to fix your CI before adding the pull request to the queue again. Waiting for any of
All conditions
Requeued — the merge queue status continues in this comment ↓. |
…26a260e39f3ee657052d0ca3912ef6ec3836aaf
Merge Queue Status
This pull request spent 3 hours 57 minutes 36 seconds in the queue, with no time running CI. ReasonPull request #31019 has been dequeued Pull request from fork cannot be queued. This pull request comes from a fork, and Mergify needs the author's permission to update its branch.
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. Waiting for any of
All conditions
Tick the box to put this pull request back in the merge queue (same as
|
…26a260e39f3ee657052d0ca3912ef6ec3836aaf
What type of PR is this?
Which issue(s) this PR fixes:
#30506
What this PR does / why we need it:
CREATE TEMPORARY TABLEin a database created by the same uncommitted transaction from exposing the internalExpectedEOBsentinel.OkExpectedEOBlookup result into the existing typed 20105 error:not supported: temporary table in an uncommitted database generation.Validation:
make buildGOWORK=off go test -mod=readonly -run '^TestSessionTemporaryDDLMapsSchemaDatabaseEOB$' -count=1 ./pkg/sql/compileGOWORK=off go test -mod=readonly -count=1 -timeout 10m ./pkg/sql/compileGOWORK=off go vet -mod=readonly ./pkg/sql/compilemo-serviceinstance, repeated twice with 20105, committed success, and 1049 controls.