Skip to content

Commit

Permalink
[fix](unique key) getEnableUniqueKeyMergeOnWrite should check key type (
Browse files Browse the repository at this point in the history
  • Loading branch information
zhannngchen authored Nov 27, 2024
1 parent 5a0b583 commit 546c767
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2418,6 +2418,9 @@ public boolean getEnableUniqueKeyMergeOnWrite() {
if (tableProperty == null) {
return false;
}
if (getKeysType() != KeysType.UNIQUE_KEYS) {
return false;
}
return tableProperty.getEnableUniqueKeyMergeOnWrite();
}

Expand Down

0 comments on commit 546c767

Please sign in to comment.