mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge bk-internal:/home/bk/mysql-4.0
into sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.0
This commit is contained in:
@ -115,3 +115,19 @@ alter table t1 rename t2;
|
||||
alter table t2 rename t1, add c char(10) comment "no comment";
|
||||
show columns from t1;
|
||||
drop table t1;
|
||||
|
||||
# implicit analyze
|
||||
|
||||
create table t1 (a int, b int);
|
||||
let $1=100;
|
||||
while ($1)
|
||||
{
|
||||
eval insert into t1 values(1,$1), (2,$1), (3, $1);
|
||||
dec $1;
|
||||
}
|
||||
alter table t1 add unique (a,b), add key (b);
|
||||
show keys from t1;
|
||||
analyze table t1;
|
||||
show keys from t1;
|
||||
drop table t1;
|
||||
|
||||
|
@ -173,3 +173,16 @@ repair table t1;
|
||||
select * from t1 where match (a) against ('aaaa');
|
||||
drop table t1;
|
||||
|
||||
#
|
||||
# bug 283 by jocelyn fournier <joc@presence-pc.com>
|
||||
# FULLTEXT index on a TEXT filed converted to a CHAR field doesn't work anymore
|
||||
#
|
||||
|
||||
drop table if exists t1;
|
||||
create table t1 ( ref_mag text not null, fulltext (ref_mag));
|
||||
insert into t1 values ('test');
|
||||
select ref_mag from t1 where match ref_mag against ('+test' in boolean mode);
|
||||
alter table t1 change ref_mag ref_mag char (255) not null;
|
||||
select ref_mag from t1 where match ref_mag against ('+test' in boolean mode);
|
||||
drop table t1;
|
||||
|
||||
|
Reference in New Issue
Block a user