Make exec::agg::Stage::setSource() private

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      exec::agg::Stage::setSource() sets the stage's source pointer which is often used within doGetNext() methods without additional checks. To reduce the risk of wrong usage, we can make this method private only allowing usage in tests and by the exec::agg::buildStage() method.

            Assignee:
            Unassigned
            Reporter:
            Romans Kasperovics
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: