<!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">2015-10-23 00:29:46 +0900 (Fri, 23 Oct 2015)</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/2908d3896abd106e4165f0ec081aa39206b94295">2908d3896abd106e4165f0ec081aa39206b94295</a></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Message</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; width: auto">Fix a bug that MRBContains() doesn&#39;t use index

GitHub: fix <a href="https://github.com/mroonga/mroonga/issues/73">#73</a>

Reported by Petri Rautiainen. Thanks!!!</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/2908d3896abd106e4165f0ec081aa39206b94295#diff-ba714ec217aa6836e39b3aea9da57ae2">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; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">  Modified: ha_mroonga.cpp (+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; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2908d3896abd106e4165f0ec081aa39206b94295#diff-ba714ec217aa6836e39b3aea9da57ae2L2765">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2908d3896abd106e4165f0ec081aa39206b94295#diff-ba714ec217aa6836e39b3aea9da57ae2L2766">2766</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2908d3896abd106e4165f0ec081aa39206b94295#diff-ba714ec217aa6836e39b3aea9da57ae2L2767">2767</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2908d3896abd106e4165f0ec081aa39206b94295#diff-ba714ec217aa6836e39b3aea9da57ae2L2768">2768</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2908d3896abd106e4165f0ec081aa39206b94295#diff-ba714ec217aa6836e39b3aea9da57ae2L2769">2769</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/2908d3896abd106e4165f0ec081aa39206b94295#diff-ba714ec217aa6836e39b3aea9da57ae2L2770">2770</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2908d3896abd106e4165f0ec081aa39206b94295#diff-ba714ec217aa6836e39b3aea9da57ae2L2771">2771</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2908d3896abd106e4165f0ec081aa39206b94295#diff-ba714ec217aa6836e39b3aea9da57ae2L2772">2772</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; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2908d3896abd106e4165f0ec081aa39206b94295#diff-ba714ec217aa6836e39b3aea9da57ae2R2765">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2908d3896abd106e4165f0ec081aa39206b94295#diff-ba714ec217aa6836e39b3aea9da57ae2R2766">2766</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2908d3896abd106e4165f0ec081aa39206b94295#diff-ba714ec217aa6836e39b3aea9da57ae2R2767">2767</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2908d3896abd106e4165f0ec081aa39206b94295#diff-ba714ec217aa6836e39b3aea9da57ae2R2768">2768</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: #dbffdb; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2908d3896abd106e4165f0ec081aa39206b94295#diff-ba714ec217aa6836e39b3aea9da57ae2R2769">2769</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2908d3896abd106e4165f0ec081aa39206b94295#diff-ba714ec217aa6836e39b3aea9da57ae2R2770">2770</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2908d3896abd106e4165f0ec081aa39206b94295#diff-ba714ec217aa6836e39b3aea9da57ae2R2771">2771</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/2908d3896abd106e4165f0ec081aa39206b94295#diff-ba714ec217aa6836e39b3aea9da57ae2R2772">2772</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; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -2766,7 +2766,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">ulong ha_mroonga::index_flags(uint idx, uint part, bool all_parts) const</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">     DBUG_RETURN(HA_ONLY_WHOLE_INDEX | HA_KEY_SCAN_NOT_ROR);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   }</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   if (mrn_is_geo_key(key)) {</span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">-    DBUG_RETURN(HA_ONLY_WHOLE_INDEX | HA_KEY_SCAN_NOT_ROR);</span>
<span class="diff-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre">+    DBUG_RETURN(HA_ONLY_WHOLE_INDEX | HA_KEY_SCAN_NOT_ROR<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000"> | HA_READ_RANGE</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">   int error = 0;</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>