forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sqlbase: add interesting datums for all scalar types
This PR extends randInterestingDatums to include at least one interesting datum for all scalar types to ensure that edge cases don't break things. Additionally, this PR adds a panic to randInterestingDatums if an interesting datum for a type could not be found, so that we continue to have coverage for all of our types. Part of work for cockroachdb#44322. Release note: None
- Loading branch information
Showing
2 changed files
with
72 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters