mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved postgresql parser. for issue #2129
This commit is contained in:
-4
@@ -66,10 +66,6 @@ public class MySqlCreateTableStatement extends SQLCreateTableStatement implement
|
||||
this.tableOptions = tableOptions;
|
||||
}
|
||||
|
||||
public Map<String, SQLObject> getTableOptions() {
|
||||
return tableOptions;
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public SQLSelect getQuery() {
|
||||
return select;
|
||||
|
||||
@@ -46,6 +46,7 @@ import com.alibaba.druid.util.JdbcConstants;
|
||||
|
||||
import java.util.LinkedHashSet;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
public class PGOutputVisitor extends SQLASTOutputVisitor implements PGASTVisitor, OracleASTVisitor {
|
||||
@@ -2275,6 +2276,7 @@ public class PGOutputVisitor extends SQLASTOutputVisitor implements PGASTVisitor
|
||||
println();
|
||||
x.getSelect().accept(this);
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user