1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

bug 283: FULLTEXT index on a TEXT filed converted to a CHAR field doesn't work anymore

This commit is contained in:
serg@sergbook.mysql.com
2003-04-23 15:44:39 +04:00
parent 0bfb2d3d9f
commit fa456991fa
3 changed files with 36 additions and 9 deletions

View File

@ -215,3 +215,14 @@ test.t1 repair status OK
select * from t1 where match (a) against ('aaaa');
a
drop table t1;
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);
ref_mag
test
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);
ref_mag
test
drop table t1;