mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
support EnterpriseDB.
This commit is contained in:
@@ -54,7 +54,7 @@ public class SQLParserUtils {
|
||||
}
|
||||
|
||||
if (JdbcUtils.POSTGRESQL.equals(dbType)
|
||||
|| JdbcUtils.ENTERPRISE_DB.equals(dbType)) {
|
||||
|| JdbcUtils.ENTERPRISEDB.equals(dbType)) {
|
||||
return new PGSQLStatementParser(sql);
|
||||
}
|
||||
|
||||
@@ -93,7 +93,7 @@ public class SQLParserUtils {
|
||||
}
|
||||
|
||||
if (JdbcUtils.POSTGRESQL.equals(dbType)
|
||||
|| JdbcUtils.ENTERPRISE_DB.equals(dbType)) {
|
||||
|| JdbcUtils.ENTERPRISEDB.equals(dbType)) {
|
||||
return new PGExprParser(sql);
|
||||
}
|
||||
|
||||
@@ -128,7 +128,7 @@ public class SQLParserUtils {
|
||||
}
|
||||
|
||||
if (JdbcUtils.POSTGRESQL.equals(dbType)
|
||||
|| JdbcUtils.ENTERPRISE_DB.equals(dbType)) {
|
||||
|| JdbcUtils.ENTERPRISEDB.equals(dbType)) {
|
||||
return new PGLexer(sql);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user