You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception in thread "main" com.alibaba.druid.sql.parser.ParserException: syntax error, error in :'TREE COMMENT '平台code和支付方式应该唯一'
) EN',expect RPAREN, actual COMMENT COMMENT
at com.alibaba.druid.sql.parser.SQLParser.printError(SQLParser.java:239)
at com.alibaba.druid.sql.parser.SQLParser.accept(SQLParser.java:247)
at com.alibaba.druid.sql.dialect.mysql.parser.MySqlCreateTableParser.parseCrateTable(MySqlCreateTableParser.java:182)
at com.alibaba.druid.sql.dialect.mysql.parser.MySqlStatementParser.parseCreate(MySqlStatementParser.java:341)
at com.alibaba.druid.sql.parser.SQLStatementParser.parseStatementList(SQLStatementParser.java:193)
at com.alibaba.druid.sql.parser.SQLStatementParser.parseStatement(SQLStatementParser.java:2036)
The text was updated successfully, but these errors were encountered:
如上sql中唯一索引后带有comment...时会格式化出错,格式化代码如下所示:
报错信息如下所示:
The text was updated successfully, but these errors were encountered: