Commit feac75c
committed
Set builder on indirect's primitive composer for CTE execution
The dependency planner path was setting the builder on pChild's
primitive composer, but not on pb.PrimitiveComposer (the indirect's
composer). When parent's GetBuilder() iterates over indirects to
create the diamond builder, it calls GetBuilder() on each indirect's
primitive composer - which was nil for CTEs.
This fix ensures the builder is also set on the indirect's primitive
composer so the CTE's inner SELECT builder gets included in the
execution graph, allowing the API calls to execute and populate
SQLite tables with data.1 parent 9dfded5 commit feac75c
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
227 | 232 | | |
228 | 233 | | |
229 | 234 | | |
| |||
0 commit comments