mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
Correct mysql stored keyword
This commit is contained in:
@@ -45,7 +45,7 @@ public class SQLColumnDefinition extends SQLObjectImpl implements SQLTableElemen
|
||||
protected SQLExpr storage;
|
||||
protected SQLExpr charsetExpr;
|
||||
protected SQLExpr asExpr;
|
||||
protected boolean sorted = false;
|
||||
protected boolean stored = false;
|
||||
protected boolean virtual = false;
|
||||
|
||||
protected Identity identity;
|
||||
@@ -208,12 +208,12 @@ public class SQLColumnDefinition extends SQLObjectImpl implements SQLTableElemen
|
||||
this.virtual = virtual;
|
||||
}
|
||||
|
||||
public boolean isSorted() {
|
||||
return sorted;
|
||||
public boolean isStored() {
|
||||
return stored;
|
||||
}
|
||||
|
||||
public void setSorted(boolean sorted) {
|
||||
this.sorted = sorted;
|
||||
public void setStored(boolean stored) {
|
||||
this.stored = stored;
|
||||
}
|
||||
|
||||
public SQLExpr getCharsetExpr() {
|
||||
@@ -387,7 +387,7 @@ public class SQLColumnDefinition extends SQLObjectImpl implements SQLTableElemen
|
||||
x.setAsExpr(asExpr.clone());
|
||||
}
|
||||
|
||||
x.sorted = sorted;
|
||||
x.stored = stored;
|
||||
x.virtual = virtual;
|
||||
|
||||
if (identity != null) {
|
||||
|
||||
Reference in New Issue
Block a user