mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
bug fixed for issue #2106
This commit is contained in:
@@ -1900,6 +1900,7 @@ public class MySqlStatementParser extends SQLStatementParser {
|
||||
acceptIdentifier("TRANSACTION");
|
||||
|
||||
SQLStartTransactionStatement stmt = new SQLStartTransactionStatement();
|
||||
stmt.setDbType(dbType);
|
||||
|
||||
if (lexer.token() == Token.WITH) {
|
||||
lexer.nextToken();
|
||||
|
||||
+1
@@ -494,6 +494,7 @@ public class SQLServerStatementParser extends SQLStatementParser {
|
||||
lexer.nextToken();
|
||||
|
||||
SQLStartTransactionStatement startTrans = new SQLStartTransactionStatement();
|
||||
startTrans.setDbType(dbType);
|
||||
|
||||
if (lexer.token() == Token.IDENTIFIER) {
|
||||
SQLName name = this.exprParser.name();
|
||||
|
||||
Reference in New Issue
Block a user