Let's not be grouchy about this. Empty ins are probably uncommon and it's

foolish to complicate a bunch of client code. Either we'll do some magical
optimization on the Depot side and not even send queries to the server that we
know can't match anything, or we'll just suck it up and occasionally send a
query to the database that we know will match no rows. C'est la vie.
This commit is contained in:
Michael Bayne
2009-06-10 21:52:55 +00:00
parent b3ee76f914
commit d91f968062
@@ -39,10 +39,6 @@ public class In
public In (ColumnExp column, Comparable<?>... values)
{
if (values.length == 0) {
log.warning("Grouchily allowing empty In() operator", "column", column.name,
new Exception());
}
_column = column;
_values = values;
}