Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

call, exec 语句解析 #949

Open
wangyu4882 opened this issue Sep 7, 2015 · 1 comment
Open

call, exec 语句解析 #949

wangyu4882 opened this issue Sep 7, 2015 · 1 comment

Comments

@wangyu4882
Copy link

Sqlserver 解析如下语句出错
EXEC test_SP @p0 OUT

mysql 解析如下语句出错
CALL 'test'.'test_SP'

版本: 1.0.15

gloriawish referenced this issue in gloriawish/druid Sep 21, 2015
@wangyu4882
Copy link
Author

Versino: 1.0.20
SQL: CALL 'test'.'test_SP'
解析异常 :
Exception in thread "main" com.alibaba.druid.sql.parser.ParserException: error, LITERAL_CHARS
at com.alibaba.druid.sql.parser.SQLExprParser.nameRest(SQLExprParser.java:994)
at com.alibaba.druid.sql.dialect.mysql.parser.MySqlExprParser.nameRest(MySqlExprParser.java:773)
at com.alibaba.druid.sql.parser.SQLExprParser.name(SQLExprParser.java:976)
at com.alibaba.druid.sql.parser.SQLStatementParser.parseCall(SQLStatementParser.java:1548)
at com.alibaba.druid.sql.parser.SQLStatementParser.parseStatementList(SQLStatementParser.java:339)
at com.alibaba.druid.sql.parser.SQLStatementParser.parseStatementList(SQLStatementParser.java:145)
at com.alibaba.druid.sql.parser.SQLStatementParser.parseStatementList(SQLStatementParser.java:140)
at com.alibaba.druid.sql.SQLUtils.toStatementList(SQLUtils.java:234)
at com.quicklaud.dfw.sqlwall.BaseSqlWallTest.main(BaseSqlWallTest.java:144)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant