mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
bad merge fixed
mysql-test/r/fulltext.result: test for CREATE FULLTEXT INDEX mysql-test/t/fulltext.test: test for CREATE FULLTEXT INDEX
This commit is contained in:
@ -172,9 +172,9 @@ CREATE TABLE t1 (
|
||||
id int(11) auto_increment,
|
||||
title varchar(100) default '',
|
||||
PRIMARY KEY (id),
|
||||
KEY ind5 (title),
|
||||
FULLTEXT KEY FT1 (title)
|
||||
KEY ind5 (title)
|
||||
) TYPE=MyISAM;
|
||||
CREATE FULLTEXT INDEX ft1 ON t1(title);
|
||||
insert into t1 (title) values ('this is a test');
|
||||
select * from t1 where match title against ('test' in boolean mode);
|
||||
id title
|
||||
|
@ -135,10 +135,10 @@ CREATE TABLE t1 (
|
||||
id int(11) auto_increment,
|
||||
title varchar(100) default '',
|
||||
PRIMARY KEY (id),
|
||||
KEY ind5 (title),
|
||||
FULLTEXT KEY FT1 (title)
|
||||
KEY ind5 (title)
|
||||
) TYPE=MyISAM;
|
||||
|
||||
CREATE FULLTEXT INDEX ft1 ON t1(title);
|
||||
insert into t1 (title) values ('this is a test');
|
||||
select * from t1 where match title against ('test' in boolean mode);
|
||||
update t1 set title='this is A test' where id=1;
|
||||
|
Reference in New Issue
Block a user