Skip to content

Commit 093c332

Browse files
committed
minor review fixes 2
1 parent 5626f58 commit 093c332

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/DistributedCalciteConfiguration.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,10 @@ public String[] disabledRules() {
9999
@Override public void onUpdate(String name, String[] oldVal, String[] newVal) {
100100
if (oldVal != null && F.compareArrays(oldVal, newVal) != 0) {
101101
if (qryPlanCache != null) {
102-
log.info("Cleaning Calcite's cache plan by changing of the property '"
103-
+ DISABLED_RULES_PROPERTY_NAME + "'.");
102+
if (log.isInfoEnabled()) {
103+
log.info("Cleaning Calcite's cache plan by changing of the property '"
104+
+ DISABLED_RULES_PROPERTY_NAME + "'.");
105+
}
104106

105107
qryPlanCache.clear();
106108
}

0 commit comments

Comments
 (0)