mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
fix create table varchar binary bug and binary(10) bug
This commit is contained in:
@@ -24,6 +24,7 @@ public class SQLCharacterDataType extends SQLDataTypeImpl {
|
||||
private String collate;
|
||||
|
||||
private String charType;
|
||||
private boolean hasBinary;
|
||||
|
||||
public final static String CHAR_TYPE_BYTE = "BYTE";
|
||||
public final static String CHAR_TYPE_CHAR = "CHAR";
|
||||
@@ -39,6 +40,14 @@ public class SQLCharacterDataType extends SQLDataTypeImpl {
|
||||
public void setCharSetName(String charSetName) {
|
||||
this.charSetName = charSetName;
|
||||
}
|
||||
|
||||
public boolean isHasBinary() {
|
||||
return hasBinary;
|
||||
}
|
||||
|
||||
public void setHasBinary(boolean hasBinary) {
|
||||
this.hasBinary = hasBinary;
|
||||
}
|
||||
|
||||
public String getCollate() {
|
||||
return collate;
|
||||
|
||||
Reference in New Issue
Block a user