mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved db2 sql parser, support db2 interval expr. for issue #2037
This commit is contained in:
@@ -84,7 +84,9 @@ public class SQLSelectParser extends SQLParser {
|
||||
}
|
||||
|
||||
protected SQLUnionQuery createSQLUnionQuery() {
|
||||
return new SQLUnionQuery();
|
||||
SQLUnionQuery union = new SQLUnionQuery();
|
||||
union.setDbType(getDbType());
|
||||
return union;
|
||||
}
|
||||
|
||||
public SQLUnionQuery unionRest(SQLUnionQuery union) {
|
||||
|
||||
Reference in New Issue
Block a user