Use after std::move in bool_expression

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The {{value} variable is used after moved here:

                  if (isCurrentlyNegated()) {
                      value = Negator{}(std::move(value));
                  }
                  _result = make<Atom>(std::move(value));
      

      This ticket should investigate whether the first path is actually possible to hit, as the initial code coverage data seems to indicate that we don't have any tests which exercise it.

            Assignee:
            [DO NOT USE] Backlog - Query Optimization
            Reporter:
            Nicholas Zolnierz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: