提交 a24af894 authored 作者: andrei's avatar andrei

typo in merge

上级 476dba18
...@@ -169,7 +169,7 @@ public class Merge extends Prepared { ...@@ -169,7 +169,7 @@ public class Merge extends Prepared {
if (index != null) { if (index != null) {
// verify the index columns match the key // verify the index columns match the key
Column[] indexColumns = index.getColumns(); Column[] indexColumns = index.getColumns();
boolean indexMatchesKeys = false; boolean indexMatchesKeys = true;
if (indexColumns.length <= keys.length) { if (indexColumns.length <= keys.length) {
for (int i = 0; i < indexColumns.length; i++) { for (int i = 0; i < indexColumns.length; i++) {
if (indexColumns[i] != keys[i]) { if (indexColumns[i] != keys[i]) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论