<!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 <kou****@clear*****></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
<dd style="margin-left: 8.5em">2012-08-24 18:11:51 +0900 (Fri, 24 Aug 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/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb">b0a2c79785234065a784bf7723cfe20f859d28eb</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, "Liberation Mono", Courier, monospace; line-height: 1.2; padding: 0.5em">Pass table to selector</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/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#diff-0">lib/db.h</a></li>
<li><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#diff-1">lib/expr.c</a></li>
<li><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#diff-2">lib/geo.c</a></li>
<li><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#diff-3">lib/geo.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, "Liberation Mono", 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: lib/db.h (+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, "Liberation Mono", 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/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L0L152">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L0L153">153</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L0L154">154</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L0L155">155</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L0L156">156</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L0L157">157</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L0L158">158</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L0L159">159</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", 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/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L0R152">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L0R153">153</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L0R154">154</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L0R155">155</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L0R156">156</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L0R157">157</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L0R158">158</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L0R159">159</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", 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">@@ -153,7 +153,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">typedef struct {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> (GRN_TABLE_HASH_KEY <= ((grn_db_obj *)obj)->header.type) &&\</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> (((grn_db_obj *)obj)->header.type <= GRN_DB))</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-typedef grn_rc grn_selector_func(grn_ctx *ctx, grn_obj *index,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+typedef grn_rc grn_selector_func(grn_ctx *ctx, grn_obj *table, grn_obj *index,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> int nargs, grn_obj **args,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> grn_obj *res, grn_operator op);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </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, "Liberation Mono", 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: lib/expr.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, "Liberation Mono", 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/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L1L4266">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L1L4267">4267</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L1L4268">4268</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L1L4269">4269</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L1L4270">4270</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L1L4271">4271</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L1L4272">4272</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L1L4273">4273</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", 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/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L1R4266">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L1R4267">4267</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L1R4268">4268</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L1R4269">4269</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L1R4270">4270</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L1R4271">4271</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L1R4272">4272</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L1R4273">4273</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", 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">@@ -4267,7 +4267,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">grn_table_select(grn_ctx *ctx, grn_obj *table, grn_obj *expr,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> } else if (selector_proc_p(si->args[0])) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> grn_rc rc;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> grn_proc *proc = (grn_obj *)(si->args[0]);</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- rc = proc->selector(ctx, index, si->nargs, si->args,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ rc = proc->selector(ctx, table, index, si->nargs, si->args,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> res, si->logical_op);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (rc) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> /* TODO: report error */</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, "Liberation Mono", 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: lib/geo.c (+4 -4)</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, "Liberation Mono", 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/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2L672">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2L673">673</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2L674">674</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2L675">675</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2L676">676</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2L677">677</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2L678">678</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2L679">679</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2L689">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2L690">690</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2L691">691</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2L692">692</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2L693">693</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2L694">694</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2L695">695</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2L696">696</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2L883">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2L884">884</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2L885">885</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2L886">886</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2L887">887</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2L888">888</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2L889">889</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2L890">890</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2L891">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2L892">892</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2L893">893</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2L894">894</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2L895">895</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2L896">896</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2L897">897</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2L898">898</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", 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/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2R672">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2R673">673</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2R674">674</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2R675">675</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2R676">676</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2R677">677</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2R678">678</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2R679">679</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2R689">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2R690">690</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2R691">691</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2R692">692</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2R693">693</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2R694">694</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2R695">695</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2R696">696</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2R883">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2R884">884</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2R885">885</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2R886">886</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2R887">887</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2R888">888</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2R889">889</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2R890">890</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2R891">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2R892">892</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2R893">893</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2R894">894</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2R895">895</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2R896">896</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2R897">897</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L2R898">898</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", 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">@@ -673,7 +673,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">typedef double (*grn_geo_distance_raw_func)(grn_ctx *ctx,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> grn_geo_point *point2);</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_rc</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-grn_selector_geo_in_circle(grn_ctx *ctx, grn_obj *obj,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+grn_selector_geo_in_circle(grn_ctx *ctx, grn_obj *table, grn_obj *index,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> int nargs, grn_obj **args,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> grn_obj *res, grn_operator op)</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">@@ -690,7 +690,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">grn_selector_geo_in_circle(grn_ctx *ctx, grn_obj *obj,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> grn_obj *center_point, *distance;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> center_point = args[2];</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> distance = args[3];</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- grn_geo_select_in_circle(ctx, obj, center_point, distance, type, res, op);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ grn_geo_select_in_circle(ctx, index, center_point, distance, type, res, op);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</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"> default :</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -884,7 +884,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">exit :</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"> grn_rc</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-grn_selector_geo_in_rectangle(grn_ctx *ctx, grn_obj *obj,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+grn_selector_geo_in_rectangle(grn_ctx *ctx, grn_obj *table, grn_obj *index,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> int nargs, grn_obj **args,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> grn_obj *res, grn_operator op)</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">@@ -892,7 +892,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">grn_selector_geo_in_rectangle(grn_ctx *ctx, grn_obj *obj,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> grn_obj *top_left_point, *bottom_right_point;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> top_left_point = args[2];</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> bottom_right_point = args[3];</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- grn_geo_select_in_rectangle(ctx, obj,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ grn_geo_select_in_rectangle(ctx, index,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> top_left_point, bottom_right_point,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> res, op);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> } else {</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, "Liberation Mono", 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: lib/geo.h (+3 -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, "Liberation Mono", 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/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L3L132">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L3L133">133</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L3L134">134</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L3L135">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/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L3L136">136</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L3L137">137</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L3L138">138</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L3L139">139</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L3L140">140</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L3L141">141</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L3L142">142</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", 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/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L3R132">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L3R133">133</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L3R134">134</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L3R135">135</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L3R136">136</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L3R137">137</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L3R138">138</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L3R139">139</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L3R140">140</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L3R141">141</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L3R142">142</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b0a2c79785234065a784bf7723cfe20f859d28eb#L3R143">143</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", 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,10 +133,11 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">grn_rc grn_geo_select_in_circle(grn_ctx *ctx,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> grn_obj *res,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> grn_operator op);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-grn_rc grn_selector_geo_in_circle(grn_ctx *ctx, grn_obj *obj,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+grn_rc grn_selector_geo_in_circle(grn_ctx *ctx, grn_obj *table, grn_obj *index,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> int nargs, grn_obj **args,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> grn_obj *res, grn_operator op);</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-grn_rc grn_selector_geo_in_rectangle(grn_ctx *ctx, grn_obj *obj,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+grn_rc grn_selector_geo_in_rectangle(grn_ctx *ctx,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ grn_obj *table, grn_obj *index,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> int nargs, grn_obj **args,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> grn_obj *res, grn_operator op);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>