Re: InnoDB foreign keys bug

2003-02-09 Thread mysql-list-bot
"Scott Wong" <[EMAIL PROTECTED]>, Do you think the following links may help? * http://www.mysql.com/doc/en/example-Foreign_keys.html * http://www.mysql.com/doc/en/ANSI_diff_Foreign_Keys.html * http://www.mysql.com/doc/en/ALTER_TABLE.html * http://www.mysql.com/doc/

Re: InnoDB foreign keys bug

2003-02-08 Thread Heikki Tuuri
Scott, I would like to declare this as a 'feature'. You should not define multiple foreign key constraints on the same foreign key/referenced key pair. I could, of course, add an error message if someone tries to do that. The algorithm in ON UPDATE CASCADE and ON DELETE CASCADE is this: InnoDB t