Skip to content

Wrong parse replace into... #389

@brozikcz

Description

@brozikcz

"replace into table(key, data) values(1, "aaa")" is parsed as "REPLACE TABLE(key, data) VALUES(1, "aaa")" without INTO...

"insert or replace into..." ended with net.sf.jsqlparser.JSQLParserException

/System.err: Caused by: net.sf.jsqlparser.parser.ParseException: Encountered " "OR" "OR "" at line 1, column 8. 01-24 14:33:39.471 8465-8465/? W/System.err: Was expecting one of: 01-24 14:33:39.471 8465-8465/? W/System.err: "DO" ...

Version: 0.9.6

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions