Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Tetsuro IKEDA
committed
Apr 6, 2010
1 parent
c3940f0
commit 95fd8f0
Showing
2 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| install plugin mroonga soname 'libmroonga.so'; | ||
| set storage_engine=mroonga; | ||
| drop table if exists t1, t2, t3; | ||
| create table t1 (c1 int primary key, c2 text, fulltext index ft (c2)); | ||
| show create table t1; | ||
| Table Create Table | ||
| t1 CREATE TABLE `t1` ( | ||
| `c1` int(11) NOT NULL, | ||
| `c2` text, | ||
| PRIMARY KEY (`c1`), | ||
| FULLTEXT KEY `ft` (`c2`) | ||
| ) ENGINE=mroonga DEFAULT CHARSET=latin1 | ||
| insert into t1 values (1, "hoge hoge"); | ||
| insert into t1 values (2, "fuga fuga"); | ||
| insert into t1 values (3, "moge moge"); | ||
| select * from t1; | ||
| c1 c2 | ||
| 1 hoge hoge | ||
| 2 fuga fuga | ||
| 3 moge moge | ||
| flush tables; | ||
| select * from t1; | ||
| c1 c2 | ||
| 1 hoge hoge | ||
| 2 fuga fuga | ||
| 3 moge moge | ||
| drop table t1; | ||
| uninstall plugin mroonga; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| --disable_warnings | ||
| install plugin mroonga soname 'libmroonga.so'; | ||
| set storage_engine=mroonga; | ||
| drop table if exists t1, t2, t3; | ||
| --enable_warnings | ||
|
|
||
| create table t1 (c1 int primary key, c2 text, fulltext index ft (c2)); | ||
| show create table t1; | ||
| insert into t1 values (1, "hoge hoge"); | ||
| insert into t1 values (2, "fuga fuga"); | ||
| insert into t1 values (3, "moge moge"); | ||
| select * from t1; | ||
| flush tables; | ||
| select * from t1; | ||
| drop table t1; | ||
|
|
||
| --disable_warnings | ||
| uninstall plugin mroonga; | ||
| --enable_warnings |