mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
[bug fix] Add support for TD insert...sel
This commit is contained in:
+2
-1
@@ -118,7 +118,8 @@ public class TeradataStatementParser extends SQLStatementParser {
|
||||
break;
|
||||
}
|
||||
|
||||
} else if (lexer.token() == (Token.SELECT)) {
|
||||
} else if (lexer.token() == (Token.SELECT)
|
||||
|| lexer.token() == (Token.SEL)) {
|
||||
SQLSelect select = this.exprParser.createSelectParser().select();
|
||||
select.setParent(insertStatement);
|
||||
insertStatement.setQuery(select);
|
||||
|
||||
Reference in New Issue
Block a user