Avoid recursion in DocumentSourceUnionWith::doGetNext()

XMLWordPrintableJSON

    • Query Execution
    • Fully Compatible
    • QE 2025-07-07, QE 2025-07-21, QE 2025-08-04, QE 2025-08-18, QE 2025-10-27
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently DocumentSourceUnionWith::doGetNext() has a recursive call and it is unclear how deep this recursion can go. If this is just one step recursion for resolving a view, we should probably avoid it for clarity / readability.

      Also, using exceptions to detect views is not very good style, but this is probably a different / larger problem.

            Assignee:
            Jan Steemann
            Reporter:
            Romans Kasperovics
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: