<!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">2018-06-21 16:22:58 +0900 (Thu, 21 Jun 2018)</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/05b10beedb7eac5febf74e06a23148abbbdc97c3">05b10beedb7eac5febf74e06a23148abbbdc97c3</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, "Liberation Mono", Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">windows: use grn_memcpy()</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/05b10beedb7eac5febf74e06a23148abbbdc97c3#diff-cf87acdbcbd22709a858df5c01e6758a">lib/ii.c</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; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: lib/ii.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; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/05b10beedb7eac5febf74e06a23148abbbdc97c3#diff-cf87acdbcbd22709a858df5c01e6758aL8780">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/05b10beedb7eac5febf74e06a23148abbbdc97c3#diff-cf87acdbcbd22709a858df5c01e6758aL8781">8781</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/05b10beedb7eac5febf74e06a23148abbbdc97c3#diff-cf87acdbcbd22709a858df5c01e6758aL8782">8782</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/05b10beedb7eac5febf74e06a23148abbbdc97c3#diff-cf87acdbcbd22709a858df5c01e6758aL8783">8783</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/05b10beedb7eac5febf74e06a23148abbbdc97c3#diff-cf87acdbcbd22709a858df5c01e6758aL8784">8784</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/05b10beedb7eac5febf74e06a23148abbbdc97c3#diff-cf87acdbcbd22709a858df5c01e6758aL8785">8785</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/05b10beedb7eac5febf74e06a23148abbbdc97c3#diff-cf87acdbcbd22709a858df5c01e6758aL8786">8786</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/05b10beedb7eac5febf74e06a23148abbbdc97c3#diff-cf87acdbcbd22709a858df5c01e6758aL8787">8787</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; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/05b10beedb7eac5febf74e06a23148abbbdc97c3#diff-cf87acdbcbd22709a858df5c01e6758aR8780">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/05b10beedb7eac5febf74e06a23148abbbdc97c3#diff-cf87acdbcbd22709a858df5c01e6758aR8781">8781</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/05b10beedb7eac5febf74e06a23148abbbdc97c3#diff-cf87acdbcbd22709a858df5c01e6758aR8782">8782</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/05b10beedb7eac5febf74e06a23148abbbdc97c3#diff-cf87acdbcbd22709a858df5c01e6758aR8783">8783</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/05b10beedb7eac5febf74e06a23148abbbdc97c3#diff-cf87acdbcbd22709a858df5c01e6758aR8784">8784</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/05b10beedb7eac5febf74e06a23148abbbdc97c3#diff-cf87acdbcbd22709a858df5c01e6758aR8785">8785</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/05b10beedb7eac5febf74e06a23148abbbdc97c3#diff-cf87acdbcbd22709a858df5c01e6758aR8786">8786</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/05b10beedb7eac5febf74e06a23148abbbdc97c3#diff-cf87acdbcbd22709a858df5c01e6758aR8787">8787</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; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -8781,7 +8781,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">grn_ii_quorum_match(grn_ctx *ctx, grn_ii *ii, grn_ii_select_data *data)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> (void **)&record_data);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (record_data->n_occurs >= quorum_threshold) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> double score = record_data->score;</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- memcpy(&posinfo, posting, record_key_size);</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ <span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">grn_</span>memcpy(&posinfo, posting, record_key_size);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (data->score_func) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> data->record.id = posting->rid;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> data->record.weight = score / record_data->n_occurs;</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>