diff options
author | monty@donna.mysql.fi <> | 2001-03-06 15:24:08 +0200 |
---|---|---|
committer | monty@donna.mysql.fi <> | 2001-03-06 15:24:08 +0200 |
commit | bda3e099358ddcad825c1231f2a0f14697abd59c (patch) | |
tree | 54c7bf220f9e21e9f04e2ff2e8a018cf4e33e837 /mysql-test/t/merge.test | |
parent | 7b275cf2ec780057c004726d9d96fda8447b1287 (diff) | |
download | mariadb-git-bda3e099358ddcad825c1231f2a0f14697abd59c.tar.gz |
Merged some functions and removed some unused client functions.
Remember UNION for ALTER TABLE
Added test for if we are supporting transactions.
Don't allow REPLACE to replace a row when we have generated an auto_increment key
Fixed bug when using BLOB keys
Fixed bug in SET @variable=user.
Diffstat (limited to 'mysql-test/t/merge.test')
-rw-r--r-- | mysql-test/t/merge.test | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/mysql-test/t/merge.test b/mysql-test/t/merge.test index fb1da4e3739..0b14ba388ce 100644 --- a/mysql-test/t/merge.test +++ b/mysql-test/t/merge.test @@ -50,7 +50,7 @@ insert into t2 (c) values ('test2'); insert into t2 (c) values ('test2'); select * from t3; select * from t3; -delete from t3; +delete from t3 where 1=1; select * from t3; select * from t1; drop table t3,t2,t1; @@ -78,6 +78,16 @@ alter table t3 UNION=(t1,t2); select count(*) from t3; alter table t3 TYPE=MYISAM; select count(*) from t3; + +# Test that ALTER TABLE rembers the old UNION + +drop table t3; +CREATE TABLE t3 (incr int not null, othr int not null, primary key(incr)) +TYPE=MERGE UNION=(t1,t2); +show create table t3; +alter table t3 drop primary key; +show create table t3; + drop table t3,t2,t1; # |