MySQL Forums
Forum List  »  InnoDB

Re: Foregn Keys and InnoDB not working as expected with 3.23.53
Posted by: Heikki Tuuri
Date: February 25, 2005 03:38AM

Kelly,

InnoDB does not yet support this syntax:

-> parentid int not null references parent(parentid),

You must use the syntax here:

http://dev.mysql.com/doc/mysql/en/innodb-foreign-key-constraints.html

Best regards,

Heikki
Oracle Corp./Innobase Oy
InnoDB - transactions, row level locking, and foreign keys for MySQL

InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up MyISAM tables
http://www.innodb.com/order.php

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Foregn Keys and InnoDB not working as expected with 3.23.53
2369
February 25, 2005 03:38AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.