1--source include/have_innodb.inc 2create table t1 (a int,b varchar(100) ,d blob,primary key (a,d(10), b(10))) engine=innodb; 3insert into t1 values (1,'e','a'),(5,'f','5'), (3,'a','b'); 4create table t2 (a int) engine=innodb; 5insert into t2() values(4),(5); 6delete t1 from t1, t2 where t1.a; 7show create table t1; 8drop table t1, t2; 9