mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
bug fixed for hibernate ddl
This commit is contained in:
@@ -523,6 +523,10 @@ public class MySqlExprParser extends SQLExprParser {
|
||||
return parseColumnRest(column);
|
||||
}
|
||||
|
||||
if (identifierEquals("precision") && column.getDataType().getName().equalsIgnoreCase("double")) {
|
||||
lexer.nextToken();
|
||||
}
|
||||
|
||||
if (identifierEquals("PARTITION")) {
|
||||
throw new ParserException("syntax error " + lexer.token() + " " + lexer.stringVal());
|
||||
}
|
||||
@@ -589,7 +593,7 @@ public class MySqlExprParser extends SQLExprParser {
|
||||
accept(Token.EQ);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
item.setValue(this.expr());
|
||||
|
||||
item.setTarget(var);
|
||||
|
||||
Reference in New Issue
Block a user