Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
90251: sql: fix a non-deterministic DELETE ... USING logic test r=faizaanmadhani a=faizaanmadhani Previously, a logic test testing ORDER BY and LIMIT in DELETE ... USING statements would sometimes return a different row from the USING table when run through stress tests, due to the ORDER BY ... LIMIT clause allowing the USING to join on either of two rows. This fix changes the output columns of the RETURNING to ensure it only returns columns from the target table and ensures deterministic output. Release note: None Epic: CRDB-5498 Co-authored-by: Faizaan Madhani <[email protected]>
- Loading branch information