<!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">Kouhei Sutou &lt;kou****@clear*****&gt;</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
      <dd style="margin-left: 8.5em">2011-12-28 17:14:42 +0900 (Wed, 28 Dec 2011)</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/4a7bd37b20345db1d2206d80949a694aef5ae08d">4a7bd37b20345db1d2206d80949a694aef5ae08d</a></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Merge</dt>
      <dd style="margin-left: 8.5em">
        <ul>
          <li>Merged ca83269: Merge branch 'master' of github.com:mroonga/mroonga</li>
        </ul>
      </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">don't change column type for now. it's a work for the next release...</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/4a7bd37b20345db1d2206d80949a694aef5ae08d#diff-0">ha_mroonga.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, &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: ha_mroonga.cc (+6 -6)</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/4a7bd37b20345db1d2206d80949a694aef5ae08d#L0L939">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4a7bd37b20345db1d2206d80949a694aef5ae08d#L0L940">940</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4a7bd37b20345db1d2206d80949a694aef5ae08d#L0L941">941</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4a7bd37b20345db1d2206d80949a694aef5ae08d#L0L942">942</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/4a7bd37b20345db1d2206d80949a694aef5ae08d#L0L943">943</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/4a7bd37b20345db1d2206d80949a694aef5ae08d#L0L944">944</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/4a7bd37b20345db1d2206d80949a694aef5ae08d#L0L945">945</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</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/4a7bd37b20345db1d2206d80949a694aef5ae08d#L0L946">946</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4a7bd37b20345db1d2206d80949a694aef5ae08d#L0L947">947</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/4a7bd37b20345db1d2206d80949a694aef5ae08d#L0L948">948</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/4a7bd37b20345db1d2206d80949a694aef5ae08d#L0L949">949</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/4a7bd37b20345db1d2206d80949a694aef5ae08d#L0L950">950</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</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/4a7bd37b20345db1d2206d80949a694aef5ae08d#L0L951">951</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4a7bd37b20345db1d2206d80949a694aef5ae08d#L0L952">952</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4a7bd37b20345db1d2206d80949a694aef5ae08d#L0L953">953</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/4a7bd37b20345db1d2206d80949a694aef5ae08d#L0R939">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4a7bd37b20345db1d2206d80949a694aef5ae08d#L0R940">940</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4a7bd37b20345db1d2206d80949a694aef5ae08d#L0R941">941</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4a7bd37b20345db1d2206d80949a694aef5ae08d#L0R942">942</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</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/4a7bd37b20345db1d2206d80949a694aef5ae08d#L0R943">943</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/4a7bd37b20345db1d2206d80949a694aef5ae08d#L0R944">944</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/4a7bd37b20345db1d2206d80949a694aef5ae08d#L0R945">945</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4a7bd37b20345db1d2206d80949a694aef5ae08d#L0R946">946</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4a7bd37b20345db1d2206d80949a694aef5ae08d#L0R947">947</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</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/4a7bd37b20345db1d2206d80949a694aef5ae08d#L0R948">948</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/4a7bd37b20345db1d2206d80949a694aef5ae08d#L0R949">949</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/4a7bd37b20345db1d2206d80949a694aef5ae08d#L0R950">950</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4a7bd37b20345db1d2206d80949a694aef5ae08d#L0R951">951</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4a7bd37b20345db1d2206d80949a694aef5ae08d#L0R952">952</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4a7bd37b20345db1d2206d80949a694aef5ae08d#L0R953">953</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">@@ -940,14 +940,14 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">static grn_builtin_type mrn_grn_type_from_field(grn_ctx *ctx, Field *field,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">     type = GRN_DB_SHORT_TEXT;   // 4Kbytes</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     break;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   case MYSQL_TYPE_ENUM:         // ENUM; &lt;= 2bytes</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-    // type = GRN_DB_INT8;         // 1byte</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-    // XXX: Should we use INT16?</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-    type = GRN_DB_INT16;        // 2bytes</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    type = GRN_DB_INT8;         // 1byte</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    // XXX: We should use INT16</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    // type = GRN_DB_INT16;        // 2bytes</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     break;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   case MYSQL_TYPE_SET:          // SET; &lt;= 8bytes</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-    // type = GRN_DB_INT8;         // 1byte</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-    // XXX: Should we use INT64?</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-    type = GRN_DB_INT64;        // 8bytes</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    type = GRN_DB_INT8;         // 1byte</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    // XXX: We should use INT64.</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    // type = GRN_DB_INT64;        // 8bytes</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     break;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   case MYSQL_TYPE_TINY_BLOB:    // TINYBLOB; &lt;= 256bytes + 1byte</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     type = GRN_DB_SHORT_TEXT;   // 4Kbytes</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>