We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
当设置set sql_mode = 'ANSI'. 时, show create table 返回的语句中,列和表名会用双引号包含。这是ANSI 标准SQL模式。
如下,而这种语句Druid的parser 会报错。无法解析。
CREATE TABLE "MessageInstance" ( "id" int(11) NOT NULL AUTO_INCREMENT, "clusterId" int(11) NOT NULL, "messageId" int(11) NOT NULL, "ipv4" varchar(10) DEFAULT NULL, "masterIpv4" varchar(10) DEFAULT NULL, "port" int(4) DEFAULT NULL, "managerPort" int(4) DEFAULT NULL, "online" tinyint(4) DEFAULT NULL, "status" tinyint(4) DEFAULT NULL, "info" varchar(100) DEFAULT NULL, "role" tinyint(4) DEFAULT NULL, "created" datetime DEFAULT NULL, "updated" datetime DEFAULT NULL, PRIMARY KEY ("id"), KEY "ix_messageId" ("messageId") )
错误:
com.alibaba.druid.sql.parser.ParserException: syntax error, error in :' KEY "ix_messageId" ("messageId") )',expect LPAREN, actual LITERAL_ALIAS ix_messageId
能否给予支持解析?
The text was updated successfully, but these errors were encountered:
improved mysql parser support. bug fixed for issue alibaba#1310
521192c
已支持,请等待1.0.21版本
Sorry, something went wrong.
No branches or pull requests
当设置set sql_mode = 'ANSI'. 时, show create table 返回的语句中,列和表名会用双引号包含。这是ANSI 标准SQL模式。
如下,而这种语句Druid的parser 会报错。无法解析。
错误:
能否给予支持解析?
The text was updated successfully, but these errors were encountered: