Fixed
Details
Details
Assignee
MikeM
MikeMReporter
Former user
Former user(Deactivated)Fix versions
Priority
Who's Looking?
Open Who's Looking?
Created December 18, 2004 at 11:10 AM
Updated February 25, 2005 at 4:29 PM
Resolved February 8, 2005 at 7:12 PM
MySQL (version 4.1.8) uses non-standard syntax for dropping (foreign key) constraints. The syntax is 'alter table ... drop foreign key <name>' instead of 'alter table ... drop constraint <name>'. But this can't be changed by changing the MySQLDialect, since it's hard-coded in Mapping/Constraint.cs.
Also, from my investigation, MySQL 4.1.8 DOES require dropping constraints before dropping the table, contrary to what documentation says and what the MySQLDialect is set to.
And another bug (this time it's MySQL's fault, I write about it here just in case you're interested ) is that it doesn't allow rows to reference themselves. This causes MultiTable tests to fail. I'll report it to MySQL developers.