Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up| ★ wanayoo — archive 1999 https://github.com/JSQLParser/JSqlParser/issues/958 | Nouvelle recherche | Portail wanayoo |
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
Describe the bug
JSqlParser v3.0 doesn't support some foreign key reference option, include RESTRICT, SET NULL, SET DEFAULT.
Reference:
https://dev.mysql.com/doc/refman/8.0/en/create-table-foreign-keys.html#foreign-key-referential-actions
To Reproduce
When use JSqlParser parse below creation table SQL for table: foreign_key_reference_option_sample, there was exception:
Expected behavior
JSqlParser need to parse the table# foreign_key_reference_option_sample creation SQL successfully.
System