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.
tabledesc: validate that old FK representation is not used
Previously, pre-19.2, we used to use a different foreign key representation. We have since then migrated off of it. This commit adds validation checks to verify that we are no longer using it. This commit also makes superficial changes to the catalog.TableDescriptor interface. Fixes cockroachdb#66262 Release note: None
- Loading branch information
Marius Posta
committed
Sep 23, 2021
1 parent
24b570f
commit 87bbae7
Showing
12 changed files
with
67 additions
and
549 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
47 changes: 0 additions & 47 deletions
47
pkg/sql/catalog/catalogkv/testdata/unwrap_validation/fkupgrade/descriptors.csv
This file was deleted.
Oops, something went wrong.
114 changes: 0 additions & 114 deletions
114
pkg/sql/catalog/catalogkv/testdata/unwrap_validation/fkupgrade/generate.sh
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.