The plan_enumerator calls prepMemo here which calls prepSubNodes here. If we have a nested AND with a child that requires an index then in prepSubNodes, the parent node calls prepSubNodes here. It correctly recognizes that the subNode is mandatory and returns false, however the call to prepSubNodes is not returned, so it's lost. This can falsely indicate that an indexed plan is possible, when it is not. We should return the value here so it is propagated to prepMemo correctly.
- Votes:
-
0 Vote for this issue
- Watchers:
-
4 Start watching this issue
- Created:
- Updated:
- Resolved: