Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
114792: sqlsmith: don't lose type for generated REFCURSOR constant r=DrewKimball a=DrewKimball The sqlsmith random syntax generator contains some logic to test that PII is properly redacted. This works by adding a "PII" prefix to randomly generated string values. Previously, this logic incorrectly converted REFCURSOR datums to STRING datums, which could cause a panic because REFCURSOR is not compatible for comparison with other types. This patch converts the "PII" string back to a REFCURSOR when necessary. Fixes cockroachdb#114789 Release note: None Co-authored-by: Drew Kimball <drewk@cockroachlabs.com>
- Loading branch information