8000 fix duplicate cloning · strogo/arangodb@db9ec61 · GitHub
[go: up one dir, main page]

Skip to content < 8000 /span>

Commit db9ec61

Browse files
committed
fix duplicate cloning
1 parent dca3152 commit db9ec61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arangod/Aql/Ast.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2623,7 +2623,7 @@ AstNode* Ast::optimizeBinaryOperatorRelational(AstNode* node) {
26232623
// first copy the original node before sorting, as the node may be used
26242624
// somewhere else too
26252625
rhs = clone(rhs);
2626-
node->changeMember(1, clone(rhs));
2626+
node->changeMember(1, rhs);
26272627
rhs->sort();
26282628
// remove the sortedness bit for IN/NIN operator node, as the operand is now sorted
26292629
node->setBoolValue(false);

0 commit comments

Comments
 (0)
0