| Bug #10082 | can't create foreign key constraint without index | ||
|---|---|---|---|
| Submitted: | 22 Apr 2005 0:59 | Modified: | 22 Apr 2005 1:11 |
| Reporter: | John Spencer | Email Updates: | |
| Status: | Not a Bug | Impact on me: | |
| Category: | MySQL Server: InnoDB storage engine | Severity: | S3 (Non-critical) |
| Version: | 4.0.24 | OS: | Linux (linux) |
| Assigned to: | CPU Architecture: | Any | |
[22 Apr 2005 0:59]
John Spencer
[22 Apr 2005 1:11]
Heikki Tuuri
Hi! MySQL-4.1 does create an index automatically on the referencing column(s). Creating an index automatically on the referenced columns is more difficult. I think many database brands only allow the primary key to be the referenced thing. Regards, Heikki
