<!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">mir &lt;mir@c2d.(none)&gt;</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
      <dd style="margin-left: 8.5em">2009-08-08 13:47:04 +0900 (Sat, 08 Aug 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/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b">40e8316cd56b4e5ea4d69ccfd58f39430f281e4b</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, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; padding: 0.5em">keep up-to-date with groonga.</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/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#diff-0">driver.c</a></li>
          <li><a href="https://github.com/mroonga/mroonga/commit/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#diff-1">test/unit/test-driver.c</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, &quot;Liberation Mono&quot;, 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: driver.c (+2 -2)</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, &quot;Liberation Mono&quot;, 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/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#L0L98">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#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/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#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/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#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/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#L0L102">102</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#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/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#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/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#L0L105">105</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#L0L316">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#L0L317">317</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#L0L318">318</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#L0L319">319</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/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#L0L320">320</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#L0L321">321</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#L0L322">322</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#L0L323">323</a></span>
</pre>
            </th>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, 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/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#L0R98">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#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/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#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/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#L0R101">101</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</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/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#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/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#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/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#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/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#L0R105">105</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#L0R316">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#L0R317">317</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#L0R318">318</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#L0R319">319</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</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/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#L0R320">320</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#L0R321">321</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#L0R322">322</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#L0R323">323</a></span>
</pre>
            </th>
            <td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, 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(&amp;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(&amp;ctx,GRN_DB_SHORT_TEXT), 0)))</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+                                        grn_ctx_at(&amp;ctx,GRN_DB_SHORTTEXT), 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(&amp;ctx, GRN_LOG_NOTICE, &quot;lexicon table created&quot;);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     }</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -317,7 +317,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">int mrn_create(grn_ctx *ctx, mrn_info *info)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre">   table-&gt;obj = grn_table_create(ctx, table-&gt;name, table-&gt;name_size,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                                 table-&gt;path, table-&gt;flags,</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-                                table-&gt;key_type, NULL);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+                                table-&gt;key_type, 0);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   if (table-&gt;obj == NULL)</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_ERROR, &quot;cannot create table: name=%s, name_size=%d, path=%s, &quot;</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, &quot;Liberation Mono&quot;, 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: test/unit/test-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, &quot;Liberation Mono&quot;, 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/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#L1L541">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#L1L542">542</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#L1L543">543</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#L1L544">544</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/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#L1L545">545</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#L1L546">546</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#L1L547">547</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#L1L548">548</a></span>
</pre>
            </th>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, 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/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#L1R541">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#L1R542">542</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#L1R543">543</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#L1R544">544</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</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/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#L1R545">545</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#L1R546">546</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#L1R547">547</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/40e8316cd56b4e5ea4d69ccfd58f39430f281e4b#L1R548">548</a></span>
</pre>
            </th>
            <td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, 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">@@ -542,7 +542,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">void test_mrn_rnd_next()</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">     res1 = GRN_INT32_VALUE(record-&gt;value[0]);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     res2 = GRN_TEXT_VALUE(record-&gt;value[1]);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     cut_assert_equal_int(100, res1);</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-    cut_assert_equal_int(12, GRN_BULK_WSIZE(record-&gt;value[1]));</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    cut_assert_equal_int(12, GRN_TEXT_LEN(record-&gt;value[1]));</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     cut_assert_equal_int(0, strncmp(val2, res2, 12));</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre">     cut_assert_equal_int(0, mrn_rewind_record(ctx, record));</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>