提交 9259aadc authored 作者: Thomas Mueller's avatar Thomas Mueller

The index was not used if there were multiple IN(..) conditions.

上级 78a1de2b
......@@ -143,7 +143,7 @@ public class TableFilter implements ColumnResolver {
break;
}
int id = condition.getColumn().getColumnId();
masks[id] |= condition.getMask(indexConditions.size());
masks[id] |= condition.getMask(indexConditions);
}
}
item = table.getBestPlanItem(s, masks);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论