A Z <[EMAIL PROTECTED]> wrote:
> the following raises error:150.  Does this mean we
> cannot do this in INNODB format?
>
> create table t1 (a1 integer not null, b1 varchar(36),
> primary key (a1), foreign key (b1) references t2(b1)
> on delete cascade) TYPE=INNODB
> 

Column b1 must be indexed.



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




-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to