summaryrefslogtreecommitdiffstats
path: root/storage/mroonga/mysql-test/mroonga/wrapper/r/fulltext_charset_japanese.result
blob: 6c73f4627bd3c42898c1e8348c07a5bbbcc41b9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
drop table if exists t1, t2, t3;
set names utf8;
create table t1 (c1 int primary key, c2 varchar(255), c3 text, fulltext index(c2), fulltext index(c3)) default charset utf8 COMMENT = 'engine "innodb"';
insert into t1 values(1, "明日の富士山の天気について","あああああああ");
insert into t1 values(2, "いいいいい","明日の富士山の天気は分かりません");
insert into t1 values(3, "dummy", "dummy");
select * from t1;
c1	c2	c3
1	明日の富士山の天気について	あああああああ
2	いいいいい	明日の富士山の天気は分かりません
3	dummy	dummy
select * from t1 where match(c2) against("富士山");
c1	c2	c3
1	明日の富士山の天気について	あああああああ
select * from t1 where match(c3) against("富士山");
c1	c2	c3
2	いいいいい	明日の富士山の天気は分かりません
drop table t1;