summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorunknown <sergefp@mysql.com>2003-12-03 19:49:31 +0300
committerunknown <sergefp@mysql.com>2003-12-03 19:49:31 +0300
commitbc3977ca3413d0aa0f281d14068456b5b491f7d7 (patch)
tree2ed53ef182374fce8704581f11677b75b8c91568 /mysql-test
parent25be07f05125fed0326b3b36eb344cfe535f8e46 (diff)
downloadmariadb-git-bc3977ca3413d0aa0f281d14068456b5b491f7d7.tar.gz
Fix for bug #1980 tests
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/r/multi_update.result4
-rw-r--r--mysql-test/t/multi_update.test4
2 files changed, 4 insertions, 4 deletions
diff --git a/mysql-test/r/multi_update.result b/mysql-test/r/multi_update.result
index 233c99fb22b..d286b01c1c7 100644
--- a/mysql-test/r/multi_update.result
+++ b/mysql-test/r/multi_update.result
@@ -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;
diff --git a/mysql-test/t/multi_update.test b/mysql-test/t/multi_update.test
index bf6c3db9306..fb2a1ff2b6f 100644
--- a/mysql-test/t/multi_update.test
+++ b/mysql-test/t/multi_update.test
@@ -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;