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

[BUG] com.alibaba.druid.sql.parser.ParserException: syntax error, error in :' for read only with rs use and keep', expect UPDATE, actual null, pos 74, line 1, column 71, token IDENTIFIER read #6268

Open
panda0120 opened this issue Dec 5, 2024 · 0 comments

Comments

@panda0120
Copy link

Database Type

db2

Database Version

DB2 v9.7.0.9

Druid Version

1.2.24

JDK Version

openjdk8

Error SQL

SELECT VALUE_ FROM ACT_GE_PROPERTY WHERE NAME_ = 'telemetry.lock' for read only with rs use and keep update locks

Testcase Code

No response

Stacktrace Info

com.alibaba.druid.sql.parser.ParserException: syntax error, error in :' for read only with rs use and keep', expect UPDATE, actual null, pos 74, line 1, column 71, token IDENTIFIER read
	at com.alibaba.druid.sql.parser.SQLParser.printError(SQLParser.java:881)
	at com.alibaba.druid.sql.parser.SQLParser.accept(SQLParser.java:889)
	at com.alibaba.druid.sql.parser.SQLSelectParser.query(SQLSelectParser.java:508)
	at com.alibaba.druid.sql.parser.SQLSelectParser.select(SQLSelectParser.java:77)
	at com.alibaba.druid.sql.parser.SQLStatementParser.parseSelect(SQLStatementParser.java:4740)
	at com.alibaba.druid.sql.parser.SQLStatementParser.parseStatementList(SQLStatementParser.java:232)
	at com.alibaba.druid.sql.parser.SQLStatementParser.parseStatementList(SQLStatementParser.java:108)
	at com.alibaba.druid.sql.visitor.ParameterizedOutputVisitorUtils.parameterize(ParameterizedOutputVisitorUtils.java:167)
	at com.alibaba.druid.sql.visitor.ParameterizedOutputVisitorUtils.parameterize(ParameterizedOutputVisitorUtils.java:

Error Info

No response

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