mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improve pg sql parser
This commit is contained in:
@@ -68,9 +68,7 @@ public enum SQLBinaryOperator {
|
||||
BooleanAnd("AND", 140),
|
||||
BooleanXor("XOR", 150),
|
||||
BooleanOr("OR", 160),
|
||||
Assignment(":=", 169),
|
||||
|
||||
PostgresStyleTypeCast("::", 20),
|
||||
Assignment(":=", 169)
|
||||
;
|
||||
|
||||
public static int getPriority(SQLBinaryOperator operator) {
|
||||
|
||||
@@ -22,8 +22,8 @@ import com.alibaba.druid.sql.visitor.SQLASTVisitor;
|
||||
|
||||
public class SQLCastExpr extends SQLExprImpl {
|
||||
|
||||
private SQLExpr expr;
|
||||
private SQLDataType dataType;
|
||||
protected SQLExpr expr;
|
||||
protected SQLDataType dataType;
|
||||
|
||||
public SQLCastExpr(){
|
||||
|
||||
|
||||
Reference in New Issue
Block a user