-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql: modify EnsureKey to add primary key back to Scan
Previously, the EnsureKey function would create a new Ordinality operator when it encountered a Scan without a key. This patch modifies EnsureKey to instead find the preexisting primary key and construct a new Scan operator with the new column(s). Release note: None
- Loading branch information
1 parent
e438f1a
commit 8bd95b4
Showing
3 changed files
with
216 additions
and
106 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
Oops, something went wrong.