Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql: fix a non-deterministic DELETE ... USING logic test
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: support DELETE FROM ... USING
- Loading branch information