Commit bc3977ca authored by unknown's avatar unknown

Fix for bug #1980 tests

parent 25be07f0
......@@ -336,7 +336,7 @@ alter table t1 add b char(8) not null;
alter table t1 add a char(8) not null;
alter table t1 add primary key (a,b,c);
update t1 set a=c, b=c;
create table t2 like t1;
create table t2 (c char(8) not null, b char(8) not null, a char(8) not null, primary key(a,b,c));
insert into t2 select * from t1;
delete t1,t2 from t2,t1 where t1.a<'B' and t2.b=t1.b;
drop table t1,t2;
......@@ -348,7 +348,7 @@ alter table t1 add b char(8) not null;
alter table t1 add a char(8) not null;
alter table t1 add primary key (a,b,c);
update t1 set a=c, b=c;
create table t2 like t1;
create table t2 (c char(8) not null, b char(8) not null, a char(8) not null, primary key(a,b,c));
insert into t2 select * from t1;
delete t1,t2 from t2,t1 where t1.a<'B' and t2.b=t1.b;
set @@table_type=@ttype_save;
......
......@@ -286,7 +286,7 @@ alter table t1 add a char(8) not null;
alter table t1 add primary key (a,b,c);
update t1 set a=c, b=c;
create table t2 like t1;
create table t2 (c char(8) not null, b char(8) not null, a char(8) not null, primary key(a,b,c));
insert into t2 select * from t1;
delete t1,t2 from t2,t1 where t1.a<'B' and t2.b=t1.b;
......@@ -306,7 +306,7 @@ alter table t1 add a char(8) not null;
alter table t1 add primary key (a,b,c);
update t1 set a=c, b=c;
create table t2 like t1;
create table t2 (c char(8) not null, b char(8) not null, a char(8) not null, primary key(a,b,c));
insert into t2 select * from t1;
delete t1,t2 from t2,t1 where t1.a<'B' and t2.b=t1.b;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment