Christos,
Monday, October 21, 2002, 5:46:07 AM, you wrote:

CS> Hello I am a brand new user of MySql, and have some questions about
CS> using InnoDB tables.

CS> I noticed in the manual that you can only specify

CS> - ON DELETE SET NULL 

CS> Or 

CS> - ON DELETE CASCADE

CS> What is the default behaviour if nothing is specified?  

Nothing will be deleted or set to NULL in the child table :-)

But if you have row in child table that has value in the reference
column equal value in the parent table, you will get an error.

CS> Also, does anyone know if there are any plans to support additional
CS> options?

Full foreign key support is in our future plans.

CS> Finally, when you have many tables with a foreign key referencing a
CS> table, how does this affect performance of updates on the table being
CS> referenced?

ON UPDATE CASCADE is not supported yet. So, you will get an error or
child row will be successfully updated.


-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Victoria Reznichenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com





---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to