mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
1.fix KEY using btree not fit mysql 5.5 syntax,2.fix ALTER TABLE COLLATE bug,3.modify parse error info,like mysql
This commit is contained in:
@@ -297,8 +297,10 @@ public class SQLStatementParser extends SQLParser {
|
||||
continue;
|
||||
}
|
||||
|
||||
throw new ParserException("syntax error, " + lexer.token() + " " + lexer.stringVal() + ", pos "
|
||||
+ lexer.pos());
|
||||
// throw new ParserException("syntax error, " + lexer.token() + " "
|
||||
// + lexer.stringVal() + ", pos "
|
||||
// + lexer.pos());
|
||||
printError(lexer.token());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user