null+****@clear*****
null+****@clear*****
2011年 12月 8日 (木) 10:05:03 JST
Kouhei Sutou 2011-12-08 01:05:03 +0000 (Thu, 08 Dec 2011) New Revision: a0c5d3948ed7e90fad2a9330e18e90918d2a4702 Log: [test][wrapper] add a SELECT without fulltext search. refs #1191 Modified files: test/sql/suite/groonga_wrapper/r/repair_table.result test/sql/suite/groonga_wrapper/t/repair_table.test Modified: test/sql/suite/groonga_wrapper/r/repair_table.result (+5 -0) =================================================================== --- test/sql/suite/groonga_wrapper/r/repair_table.result 2011-12-08 01:03:38 +0000 (92483d7) +++ test/sql/suite/groonga_wrapper/r/repair_table.result 2011-12-08 01:05:03 +0000 (d00765a) @@ -27,6 +27,11 @@ REPAIR TABLE diaries; Table Op Msg_type Msg_text test.diaries repair note Table does not support optimize, doing recreate + analyze instead test.diaries repair status OK +SELECT * FROM diaries; +id title body +1 survey will start groonga! +2 groonga (1) starting groonga... +3 groonga (2) started groonga. SELECT * FROM diaries WHERE MATCH(body) AGAINST("starting"); id title body 2 groonga (1) starting groonga... Modified: test/sql/suite/groonga_wrapper/t/repair_table.test (+2 -0) =================================================================== --- test/sql/suite/groonga_wrapper/t/repair_table.test 2011-12-08 01:03:38 +0000 (44d2e97) +++ test/sql/suite/groonga_wrapper/t/repair_table.test 2011-12-08 01:05:03 +0000 (0b8f001) @@ -45,6 +45,8 @@ SELECT * FROM diaries WHERE MATCH(body) AGAINST("starting"); REPAIR TABLE diaries; +SELECT * FROM diaries; + SELECT * FROM diaries WHERE MATCH(body) AGAINST("starting"); DROP TABLE diaries;