<!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">2012-05-28 23:45:13 +0900 (Mon, 28 May 2012)</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/ae13b574a6be9c12f362b17fbdff8edf939d1172">ae13b574a6be9c12f362b17fbdff8edf939d1172</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">Swap if/else clauses to use positive condition in if expression</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/ae13b574a6be9c12f362b17fbdff8edf939d1172#diff-0">ha_mroonga.cpp</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.cpp (+14 -14)</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/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2694">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2695">2695</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2696">2696</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2697">2697</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/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2698">2698</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-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/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2699">2699</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2700">2700</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2701">2701</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2707">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2708">2708</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2709">2709</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2710">2710</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/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2711">2711</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/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2712">2712</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/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2713">2713</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2714">2714</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2715">2715</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2716">2716</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2772">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2773">2773</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2774">2774</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2775">2775</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/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2776">2776</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/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2777">2777</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/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2778">2778</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/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2779">2779</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/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2780">2780</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/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2781">2781</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/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2782">2782</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/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2783">2783</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/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2784">2784</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/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2785">2785</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/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2786">2786</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2787">2787</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2788">2788</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2800">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2801">2801</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2802">2802</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2803">2803</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-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-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/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2804">2804</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2805">2805</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0L2806">2806</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/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2694">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2695">2695</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2696">2696</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2697">2697</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/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2698">2698</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/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2699">2699</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/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2700">2700</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/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2701">2701</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2702">2702</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2703">2703</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2704">2704</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2710">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2711">2711</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2712">2712</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2713">2713</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/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2714">2714</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2715">2715</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2716">2716</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2772">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2773">2773</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2774">2774</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2775">2775</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-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-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-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/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2776">2776</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2777">2777</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2778">2778</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2779">2779</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2791">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2792">2792</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2793">2793</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2794">2794</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/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2795">2795</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/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2796">2796</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/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2797">2797</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/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2798">2798</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/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2799">2799</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/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2800">2800</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/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2801">2801</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/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2802">2802</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/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2803">2803</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2804">2804</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2805">2805</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ae13b574a6be9c12f362b17fbdff8edf939d1172#L0R2806">2806</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">@@ -2695,7 +2695,10 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">int ha_mroonga::storage_create_index(TABLE *table, const char *grn_table_name,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">   grn_obj_flags index_table_flags = GRN_OBJ_PERSISTENT;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   grn_obj_flags index_column_flags =</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     GRN_OBJ_COLUMN_INDEX | GRN_OBJ_WITH_POSITION | GRN_OBJ_PERSISTENT;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-  if (!is_multiple_column_index) {</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  if (is_multiple_column_index) {</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    index_type = grn_ctx_at(ctx, GRN_DB_SHORT_TEXT);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    index_column_flags |= GRN_OBJ_WITH_SECTION;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  } else {</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     Field *field = key_info-&gt;key_part[0].field;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     const char *column_name = field-&gt;field_name;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     int column_name_size = strlen(column_name);</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -2708,9 +2711,6 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">int ha_mroonga::storage_create_index(TABLE *table, const char *grn_table_name,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">     column = grn_obj_column(ctx, grn_table, column_name, column_name_size);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     grn_builtin_type groonga_type = mrn_grn_type_from_field(ctx, field, true);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     index_type = grn_ctx_at(ctx, groonga_type);</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-  } else {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-    index_type = grn_ctx_at(ctx, GRN_DB_SHORT_TEXT);</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-    index_column_flags |= GRN_OBJ_WITH_SECTION;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre">   int key_alg = key_info-&gt;algorithm;</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -2773,16 +2773,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">int ha_mroonga::storage_create_index(TABLE *table, const char *grn_table_name,</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"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre">   mrn_change_encoding(ctx, system_charset_info);</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-  if (!is_multiple_column_index) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-    if (column) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-      grn_obj source_ids;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-      grn_id source_id = grn_obj_id(ctx, column);</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-      GRN_UINT32_INIT(&amp;source_ids, GRN_OBJ_VECTOR);</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-      GRN_UINT32_PUT(ctx, &amp;source_ids, source_id);</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-      grn_obj_set_info(ctx, index_column, GRN_INFO_SOURCE, &amp;source_ids);</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-      grn_obj_unlink(ctx, &amp;source_ids);</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-    }</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-  } else {</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  if (is_multiple_column_index) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     if (key_info-&gt;flags &amp; HA_FULLTEXT) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       grn_obj source_ids;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       GRN_UINT32_INIT(&amp;source_ids, GRN_OBJ_VECTOR);</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -2801,6 +2792,15 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">int ha_mroonga::storage_create_index(TABLE *table, const char *grn_table_name,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">       grn_obj_set_info(ctx, index_column, GRN_INFO_SOURCE, &amp;source_ids);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       grn_obj_unlink(ctx, &amp;source_ids);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     }</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  } else {</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    if (column) {</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      grn_obj source_ids;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      grn_id source_id = grn_obj_id(ctx, column);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      GRN_UINT32_INIT(&amp;source_ids, GRN_OBJ_VECTOR);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      GRN_UINT32_PUT(ctx, &amp;source_ids, source_id);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      grn_obj_set_info(ctx, index_column, GRN_INFO_SOURCE, &amp;source_ids);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      grn_obj_unlink(ctx, &amp;source_ids);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    }</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre">   index_tables[i] = index_table;</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>