<!DOCTYPE html>
<html>
<head>
</head>
<body>
<dl style="line-height: 1.5; margin-left: 2em">
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Author</dt>
<dd style="margin-left: 8.5em">Tetsuro IKEDA <ikdtt****@gmail*****></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
<dd style="margin-left: 8.5em">2009-07-16 16:48:37 +0900 (Thu, 16 Jul 2009)</dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">New Revision</dt>
<dd style="margin-left: 8.5em"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2">c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2</a></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Log</dt>
<dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; padding: 0.5em">keep up-to-date with new groonga.h.</pre></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Modified files</dt>
<dd style="margin-left: 8.5em">
<ul>
<li><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#diff-0">src/driver.c</a></li>
<li><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#diff-1">src/ha_groonga.cc</a></li>
</ul>
</dd>
</dl>
<div class="diff-section" style="clear: both">
<table style="border-collapse: collapse; border: 1px solid #aaa">
<thead>
<tr class="diff-header" style="border: 1px solid #aaa">
<td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: src/driver.c (+1 -1)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
</td>
</tr>
</thead>
<tbody>
<tr>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L0L98">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L0L99">99</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L0L100">100</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L0L101">101</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L0L102">102</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L0L103">103</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L0L104">104</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L0L105">105</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L0R98">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L0R99">99</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L0R100">100</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L0R101">101</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L0R102">102</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L0R103">103</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L0R104">104</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L0R105">105</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -99,7 +99,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">int mrn_init()</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if ((mrn_lexicon = grn_table_create(&ctx, MRN_LEXICON_TABLE_NAME,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> strlen(MRN_LEXICON_TABLE_NAME), NULL,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> GRN_OBJ_TABLE_PAT_KEY|GRN_OBJ_PERSISTENT,</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- grn_ctx_at(&ctx,GRN_DB_SHORTTEXT), 0)))</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ grn_ctx_at(&ctx,GRN_DB_SHORT_TEXT), 0)))</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> GRN_LOG(&ctx, GRN_LOG_NOTICE, "lexicon table created");</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
</pre>
</td>
</tr>
</tbody>
</table>
<table style="border-collapse: collapse; border: 1px solid #aaa">
<thead>
<tr class="diff-header" style="border: 1px solid #aaa">
<td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: src/ha_groonga.cc (+3 -3)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
</td>
</tr>
</thead>
<tbody>
<tr>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L1L549">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L1L550">550</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L1L551">551</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L1L552">552</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L1L553">553</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L1L554">554</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L1L555">555</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L1L556">556</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L1L557">557</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L1L559">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L1L560">560</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L1L561">561</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L1L562">562</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L1L563">563</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L1L564">564</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L1L565">565</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L1L566">566</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L1R549">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L1R550">550</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L1R551">551</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L1R552">552</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L1R553">553</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L1R554">554</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L1R555">555</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L1R556">556</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L1R557">557</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L1R559">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L1R560">560</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L1R561">561</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L1R562">562</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L1R563">563</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L1R564">564</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L1R565">565</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/c5f7eb92fb0f32d6b3d8a23ad3394965b96aeec2#L1R566">566</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -550,8 +550,8 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">FT_INFO *ha_groonga::ft_init_ext(uint flags, uint inx,String *key)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> /* boolean search */</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> grn_query *query;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this->res = grn_table_create(ctx, NULL, 0, NULL, GRN_TABLE_HASH_KEY, share->obj, 0);</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- query = grn_query_open(ctx, match_param, strlen(match_param), GRN_SEL_OR, 32);</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- grn_obj_search(ctx, share->field[1]->index, (grn_obj*) query, this->res, GRN_SEL_OR, NULL);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ query = grn_query_open(ctx, match_param, strlen(match_param), GRN_OP_OR, 32);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ grn_obj_search(ctx, share->field[1]->index, (grn_obj*) query, this->res, GRN_OP_OR, NULL);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this->cursor = grn_table_cursor_open(ctx, res, NULL, 0, NULL, 0, 0);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> //grn_query_close(ctx, query);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> } else {</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -560,7 +560,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">FT_INFO *ha_groonga::ft_init_ext(uint flags, uint inx,String *key)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this->res = grn_table_create(ctx, NULL, 0, NULL, GRN_TABLE_HASH_KEY, share->obj, 0);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> GRN_TEXT_INIT(&buff, 0);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> GRN_TEXT_SET(ctx, &buff, match_param, strlen(match_param));</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- grn_obj_search(ctx, share->field[1]->index, &buff, this->res, GRN_SEL_OR, NULL);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ grn_obj_search(ctx, share->field[1]->index, &buff, this->res, GRN_OP_OR, NULL);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> this->cursor = grn_table_cursor_open(ctx, res, NULL, 0, NULL, 0, 0);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> //grn_obj_close(ctx, &buff);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>