<!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 &lt;ikdtt****@gmail*****&gt;</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
      <dd style="margin-left: 8.5em">2009-06-18 15:14:35 +0900 (Thu, 18 Jun 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/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6">ad8fb44ded428be6a1ddc772acaa3fafc173a6f6</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">use NULL path for lexicon table.</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/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#diff-0">driver.c</a></li>
          <li><a href="https://github.com/mroonga/mroonga/commit/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#diff-1">driver.h</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/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L0L132">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L0L133">133</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L0L134">134</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L0L135">135</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/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L0L136">136</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/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L0L137">137</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L0L138">138</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L0L139">139</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L0L142">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L0L143">143</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L0L144">144</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L0L145">145</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/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L0L146">146</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/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L0L147">147</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L0L148">148</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L0L149">149</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/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L0R132">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L0R133">133</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L0R134">134</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L0R135">135</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/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L0R136">136</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L0R137">137</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L0R138">138</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L0R139">139</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L0R142">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L0R143">143</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L0R144">144</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L0R145">145</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/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L0R146">146</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L0R147">147</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L0R148">148</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L0R149">149</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">@@ -133,7 +133,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">grn_obj *mrn_db_open_or_create(grn_ctx *ctx)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">     GRN_LOG(ctx, GRN_LOG_DEBUG, &quot;-&gt; grn_db_create: '%s'&quot;, MRN_DB_FILE_PATH);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     obj = grn_db_create(ctx, MRN_DB_FILE_PATH, NULL);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     /* create global lexicon table */</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-    mrn_lexicon_sys = grn_table_create(ctx, &quot;lexicon&quot;, 7, MRN_LEXICON_FILE_PATH,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    mrn_lexicon_sys = grn_table_create(ctx, &quot;lexicon&quot;, 7, 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-not-changed" style="display: block; white-space: pre">                                        grn_ctx_at(mrn_ctx_tls,GRN_DB_SHORTTEXT), 0);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     grn_obj_set_info(ctx, mrn_lexicon_sys, GRN_INFO_DEFAULT_TOKENIZER,</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -143,7 +143,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">grn_obj *mrn_db_open_or_create(grn_ctx *ctx)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">     MRN_LOG(GRN_LOG_DEBUG, &quot;-&gt; grn_db_open: '%s'&quot;, MRN_DB_FILE_PATH);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     obj = grn_db_open(ctx, MRN_DB_FILE_PATH);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     /* open global lexicon table */</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-    mrn_lexicon_sys = grn_table_open(ctx, &quot;lexicon&quot;, 7, MRN_LEXICON_FILE_PATH);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    mrn_lexicon_sys = grn_table_open(ctx, &quot;lexicon&quot;, 7, NULL);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     GRN_LOG(ctx, GRN_LOG_DEBUG, &quot;opened lexicon table = %p&quot;, mrn_lexicon_sys);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   }</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   return obj;</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: driver.h (+0 -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/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L1L6">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L1L7">7</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L1L8">8</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L1L9">9</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/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L1L10">10</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L1L11">11</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L1L12">12</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L1L13">13</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/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L1R6">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L1R7">7</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L1R8">8</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L1R9">9</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/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L1R10">10</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L1R11">11</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ad8fb44ded428be6a1ddc772acaa3fafc173a6f6#L1R12">12</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">@@ -7,7 +7,6 @@</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #define MRN_MAX_KEY_LEN 1024</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #define MRN_DB_FILE_PATH &quot;groonga.db&quot;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-#define MRN_LEXICON_FILE_PATH &quot;lexicon.grn&quot;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #define MRN_FILE_EXT &quot;.grn&quot;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #define MRN_LOG_FILE_NAME &quot;groonga.log&quot;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>