<!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">2015-01-09 23:53:58 +0900 (Fri, 09 Jan 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/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7">b55836a1dba79d9b3982303257e203f2ec1e37d7</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">Remove "2" suffix
Because "2" is also removed from grn_io_win_map().</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/b55836a1dba79d9b3982303257e203f2ec1e37d7#diff-0">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 (+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, "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/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0L2853">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0L2854">2854</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0L2855">2855</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0L2856">2856</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/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0L2857">2857</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/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0L2858">2858</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0L2859">2859</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0L2860">2860</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0L2898">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0L2899">2899</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0L2900">2900</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0L2901">2901</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/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0L2902">2902</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/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0L2903">2903</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0L2904">2904</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0L2905">2905</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0L3239">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0L3240">3240</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0L3241">3241</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0L3242">3242</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/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0L3243">3243</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/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0L3244">3244</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0L3245">3245</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0L3246">3246</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0L3250">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0L3251">3251</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0L3252">3252</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0L3253">3253</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/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0L3254">3254</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/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0L3255">3255</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0L3256">3256</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0L3257">3257</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0L7197">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0L7198">7198</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0L7199">7199</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0L7200">7200</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/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0L7201">7201</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/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0L7202">7202</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/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0L7203">7203</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0L7204">7204</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0L7205">7205</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/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0R2853">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0R2854">2854</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0R2855">2855</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0R2856">2856</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/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0R2857">2857</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0R2858">2858</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0R2859">2859</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0R2860">2860</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0R2898">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0R2899">2899</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0R2900">2900</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0R2901">2901</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/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0R2902">2902</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0R2903">2903</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0R2904">2904</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0R2905">2905</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0R3239">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0R3240">3240</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0R3241">3241</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0R3242">3242</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/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0R3243">3243</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0R3244">3244</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0R3245">3245</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0R3246">3246</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0R3250">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0R3251">3251</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0R3252">3252</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0R3253">3253</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/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0R3254">3254</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0R3255">3255</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0R3256">3256</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0R3257">3257</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0R7197">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0R7198">7198</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0R7199">7199</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0R7200">7200</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-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0R7201">7201</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/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0R7202">7202</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0R7203">7203</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0R7204">7204</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b55836a1dba79d9b3982303257e203f2ec1e37d7#L0R7205">7205</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">@@ -2854,7 +2854,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">buffer_merge(grn_ctx *ctx, grn_ii *ii, uint32_t seg, grn_hash *h,</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"> static void</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-fake_map2(grn_ctx *ctx, grn_io *io, grn_io_win *iw, void *addr, uint32_t seg, uint32_t size)</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+fake_map(grn_ctx *ctx, grn_io *io, grn_io_win *iw, void *addr, uint32_t seg, uint32_t size)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> iw->ctx = ctx;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> iw->diff = 0;</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -2899,7 +2899,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">buffer_flush(grn_ctx *ctx, grn_ii *ii, uint32_t seg, grn_hash *h)</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"> if (!actual_chunk_size || !(rc = chunk_new(ctx, ii, &dcn, actual_chunk_size))) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> db->header.chunk = actual_chunk_size ? dcn : NOT_ASSIGNED;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- fake_map2(ctx, ii->chunk, &dw, dc, dcn, actual_chunk_size);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ fake_map(ctx, ii->chunk, &dw, dc, dcn, actual_chunk_size);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (!(rc = grn_io_win_unmap(&dw))) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> buffer_segment_update(ii, seg, ds);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> ii->header->total_chunk_size += actual_chunk_size;</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -3240,7 +3240,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">buffer_split(grn_ctx *ctx, grn_ii *ii, uint32_t seg, grn_hash *h)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (!actual_db0_chunk_size ||</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> !(rc = chunk_new(ctx, ii, &dcn0, actual_db0_chunk_size))) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> db0->header.chunk = actual_db0_chunk_size ? dcn0 : NOT_ASSIGNED;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- fake_map2(ctx, ii->chunk, &dw0, dc0, dcn0, actual_db0_chunk_size);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ fake_map(ctx, ii->chunk, &dw0, dc0, dcn0, actual_db0_chunk_size);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (!(rc = grn_io_win_unmap(&dw0))) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (!(rc = buffer_merge(ctx, ii, seg, h, sb, sc, db1, dc1))) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> actual_db1_chunk_size = db1->header.chunk_size;</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -3251,7 +3251,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">buffer_split(grn_ctx *ctx, grn_ii *ii, uint32_t seg, grn_hash *h)</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"> if (!actual_db1_chunk_size ||</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> !(rc = chunk_new(ctx, ii, &dcn1, actual_db1_chunk_size))) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- fake_map2(ctx, ii->chunk, &dw1, dc1, dcn1, actual_db1_chunk_size);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ fake_map(ctx, ii->chunk, &dw1, dc1, dcn1, actual_db1_chunk_size);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (!(rc = grn_io_win_unmap(&dw1))) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> db1->header.chunk = actual_db1_chunk_size ? dcn1 : NOT_ASSIGNED;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> buffer_segment_update(ii, dls0, dps0);</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -7198,8 +7198,8 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">grn_ii_buffer_chunk_flush(grn_ctx *ctx, grn_ii_buffer *ii_buffer)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> chunk_new(ctx, ii_buffer->ii, &chunk_number, ii_buffer->packed_len);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> GRN_LOG(ctx, GRN_LOG_INFO, "chunk:%d, packed_len:%" GRN_FMT_SIZE,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> chunk_number, ii_buffer->packed_len);</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- fake_map2(ctx, ii_buffer->ii->chunk, &io_win, ii_buffer->packed_buf,</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- chunk_number, ii_buffer->packed_len);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ fake_map(ctx, ii_buffer->ii->chunk, &io_win, ii_buffer->packed_buf,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ chunk_number, ii_buffer->packed_len);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> grn_io_win_unmap(&io_win);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> ii_buffer->term_buffer->header.chunk = chunk_number;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> ii_buffer->term_buffer->header.chunk_size = ii_buffer->packed_len;</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>