Skip to content

ALTER TABLE ... DROP FOREIGN KEY IF EXISTS ... shouldn't be supported in parser #56701

@YangKeao

Description

@YangKeao

See https://bugs.mysql.com/bug.php?id=5746. MySQL doesn't have this syntax. TiDB also didn't support this operation, but the parser actually can parse it.

Metadata

Metadata

Assignees

Labels

component/parsergood first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.severity/minorsig/sql-infraSIG: SQL Infratype/bugThe issue is confirmed as a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions