Skip to content

Commit e647b16

Browse files
authored
Remove useless object in class InCondition (#1378)
1 parent 6928595 commit e647b16

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

engine/src/main/java/com/arcadedb/query/sql/parser/InCondition.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,6 @@ public Object evaluateLeft(final Result currentRecord, final CommandContext cont
101101
}
102102

103103
protected static Object executeQuery(final SelectStatement rightStatement, final CommandContext context) {
104-
final BasicCommandContext subcontext = new BasicCommandContext();
105-
subcontext.setParentWithoutOverridingChild(context);
106104
final ResultSet result = rightStatement.execute(context.getDatabase(), context.getInputParameters());
107105
return result.stream().collect(Collectors.toSet());
108106
}

0 commit comments

Comments
 (0)