Skip to content

ALTER EVENT … RENAME TO new_db.new_event; fails to be understood correctly by the parser #419

Closed
@niconoe-

Description

@niconoe-

If you try to parse the following query:

ALTER EVENT my_old_event RENAME TO new_db.new_event;

the expression "new_db.new_event" fails to be understood correctly by the parser because the option TO on the event option is wrongly defined as "var" rather than "expr".

See: https://github.com/phpmyadmin/sql-parser/pull/420/files/090d759c1df5d31c65579234620718a13a013352#r1093700402

Related PR: #420

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions