| 637 | } |
| 638 | |
| 639 | void DsqlCompilerScratch::clearCTEs() |
| 640 | { |
| 641 | flags &= ~DsqlCompilerScratch::FLAG_RECURSIVE_CTE; |
| 642 | ctes.clear(); |
| 643 | cteAliases.clear(); |
| 644 | currCteAlias = NULL; |
| 645 | } |
| 646 | |
| 647 | // Look for unused CTEs and issue a warning about its presence. Also, make DSQL |
| 648 | // pass of every found unused CTE to check all references and initialize input |