mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved sql parser.
This commit is contained in:
@@ -48,6 +48,11 @@ public class SQLDataTypeImpl extends SQLObjectImpl implements SQLDataType {
|
||||
addArgument(new SQLIntegerExpr(precision));
|
||||
}
|
||||
|
||||
public SQLDataTypeImpl(String name, SQLExpr arg) {
|
||||
this(name);
|
||||
addArgument(arg);
|
||||
}
|
||||
|
||||
public SQLDataTypeImpl(String name, int precision, int scale) {
|
||||
this(name);
|
||||
addArgument(new SQLIntegerExpr(precision));
|
||||
|
||||
Reference in New Issue
Block a user