-
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.
35316: sql: SET TRANSACTION improvements r=andreimatei a=andreimatei sql: fix wild unlocking Release note (bug fix): Fix a crash on SET TRANSACTION AS OF SYSTEM TIME with invalid expressions. sql: move the evaluation of SET TRANSACTION ... AS OF <expr> Before this patch, the way this evaluation worked was that the planner in charge of running the whole statement was calling back into the connExecutor, which was evaluating <expr> using connEx.planner. The two planners were likely the same, but this was ugly. I'm trying to reduce reliance on ex.planner; instead each statement should know what its planner is. This patch moves the evaluation of <expr> before the callback into the connEx. Release note: None Co-authored-by: Andrei Matei <[email protected]>
- Loading branch information
Showing
4 changed files
with
47 additions
and
16 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
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