-
Notifications
You must be signed in to change notification settings - Fork 875
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix segfault creating CAgg with multiple joins
When using explicit JOIN clauses in and statement the `Query->jointree->fromlist` will contain a list of `JoinExpr` elements and each element have `larg` and `larg` node that can be either `JoinExpr` or `RangeTableRef`. Fixing it by checking the type of node before casting it properly in order to use the `rtindex` to get the properly `RangeTblEntry`.
- Loading branch information
1 parent
5836445
commit 56117dc
Showing
3 changed files
with
46 additions
and
4 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