Details
-
Task
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Won't Fix
-
None
Description
After all these years, sometimes I still see people who use the REFERENCES syntax to create foreign keys:
col_name col_type REFERENCES tab_name (col_name)
|
The problem is that they may think that a foreign key is created, until they realize that data is inconsistent.
Please, consider producing a warning when this syntax is used. Or maybe support the syntax.
Attachments
Issue Links
- is duplicated by
-
MDEV-20729 Fix REFERENCES constraint in column definition
- Closed