Skip to content

Commit 500a74e

Browse files
committed
Fixs alibaba#4927 adjust code style
1 parent cc829a1 commit 500a74e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/java/com/alibaba/druid/sql/ast/SQLPartitionByRange.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020

2121
public class SQLPartitionByRange extends SQLPartitionBy {
2222
protected SQLExpr interval;
23-
protected boolean isColumns = false;
23+
protected boolean isColumns;
2424
protected SQLExpr startWith;
2525
protected SQLIntegerExpr expireAfter;
2626
protected SQLIntegerExpr preAllocate;
2727
protected SQLExpr pivotDateExpr;
28-
protected boolean disableSchedule = false;
28+
protected boolean disableSchedule;
2929

3030
public SQLPartitionByRange() {
3131
}

src/main/java/com/alibaba/druid/sql/dialect/mysql/parser/MySqlCreateTableParser.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ public MySqlCreateTableStatement parseCreateTable(boolean acceptCreate) {
368368
if (global) {
369369
unique.setGlobal(true);
370370
}
371-
if(local){
371+
if (local) {
372372
unique.setLocal(true);
373373
}
374374
}

0 commit comments

Comments
 (0)