Skip to content

[BUG] JSQLParser Version : Mysql: for update Confused #1995

@nieqiurong

Description

@nieqiurong

Always check against the Latest SNAPSHOT of JSQLParser and the Syntax Diagram

Failing SQL Feature:

  • Wrong result : SELECT * FROM t_demo WHERE a = 1 FOR UPDATE ORDER BY b ASC LIMIT 1

SQL Example:

  • Simplified Query Example, focusing on the failing feature
    select * from t_demo where a = 1 order by b asc limit 1 for update

Software Information:

  • JSqlParser 4.9
  • Database Mysql

Tips:

An incorrect sql was returned through the parser,and this sql could not be executed correctly.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions