mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
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.
This commit is contained in:
@ -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;
|
||||
|
||||
#
|
||||
|
Reference in New Issue
Block a user