diff --git a/src/query/v2/plan/operator.cpp b/src/query/v2/plan/operator.cpp index f70b4b6b1..c62c7f1bb 100644 --- a/src/query/v2/plan/operator.cpp +++ b/src/query/v2/plan/operator.cpp @@ -1320,7 +1320,7 @@ class AggregateCursor : public Cursor { auto remember_values_it = aggregation_it_->second.remember_.begin(); for (const Symbol &remember_sym : self_.remember_) frame[remember_sym] = *remember_values_it++; - aggregation_it_++; + ++aggregation_it_; return true; }