[MDEV-26690] Confusing highlighted block on the page describing FK in KB Created: 2021-09-26 Updated: 2021-11-15 Resolved: 2021-11-15 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Documentation |
| Affects Version/s: | N/A |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | Elena Stepanova | Assignee: | Ian Gilfillan |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
The KB page about foreign keys https://mariadb.com/kb/en/foreign-keys/ has this text block at the beginning of Syntax section:
Maybe it is severely outdated or unfortunately phrased, I can't figure out from the text or from the history what it was supposed to mean at the time it was added. Either way it's confusing and needs to be updated, as clearly the REFERENCES clause is an essential part of FK definition and it's not ignored. |
| Comments |
| Comment by Ian Gilfillan [ 2021-10-18 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I think it means that until 10.5.0, REFERENCES in the following case would be accepted, but do nothing:
From 10.5.0 however (which doesn't seem to have been documented anywhere):
Will the above examples be clear enough to clarify the highlighted text? The 10.5 change slipped through without notice, and needs to be documented elsewhere of course. |