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.
rowenc: error when encoding NULLs for PK columns
This commit adds a validation check to rowenc.EncodeIndexKey to have it return an error when it encodes a NULL value for a primary key column. Fixes cockroachdb#69867. Release justification: Low risk addition of a correctness check. Release note: None
- Loading branch information
Marius Posta
committed
Oct 28, 2021
1 parent
f3a2e36
commit 03064dc
Showing
3 changed files
with
54 additions
and
28 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
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