<!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">Tetsuro IKEDA <mir@thaurissan.(none)></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
<dd style="margin-left: 8.5em">2010-04-15 18:46:43 +0900 (Thu, 15 Apr 2010)</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/ec946394c28f515713ff11245e0e8d73c74405c4">ec946394c28f515713ff11245e0e8d73c74405c4</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">added workaround code for field manipulation assertions.</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/ec946394c28f515713ff11245e0e8d73c74405c4#diff-0">ha_mroonga.cc</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: ha_mroonga.cc (+6 -0)</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/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L807">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L808">808</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L809">809</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L810">810</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/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L811">811</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L812">812</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L813">813</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L819">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L820">820</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L821">821</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L822">822</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/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L823">823</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L824">824</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L825">825</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L841">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L842">842</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L843">843</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L844">844</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/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L845">845</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L846">846</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L847">847</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L859">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L860">860</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L861">861</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L862">862</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/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L863">863</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L864">864</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L865">865</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L878">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L879">879</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L880">880</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L881">881</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/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L882">882</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L883">883</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L884">884</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L965">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L966">966</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L967">967</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L968">968</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/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L969">969</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L970">970</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0L971">971</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/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R807">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R808">808</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R809">809</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R810">810</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/ec946394c28f515713ff11245e0e8d73c74405c4#L0R811">811</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R812">812</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R813">813</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R814">814</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R820">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R821">821</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R822">822</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R823">823</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/ec946394c28f515713ff11245e0e8d73c74405c4#L0R824">824</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R825">825</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R826">826</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R827">827</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R843">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R844">844</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R845">845</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R846">846</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/ec946394c28f515713ff11245e0e8d73c74405c4#L0R847">847</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R848">848</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R849">849</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R850">850</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R862">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R863">863</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R864">864</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R865">865</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/ec946394c28f515713ff11245e0e8d73c74405c4#L0R866">866</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R867">867</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R868">868</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R869">869</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R882">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R883">883</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R884">884</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R885">885</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/ec946394c28f515713ff11245e0e8d73c74405c4#L0R886">886</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R887">887</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R888">888</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R889">889</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R970">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R971">971</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R972">972</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R973">973</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/ec946394c28f515713ff11245e0e8d73c74405c4#L0R974">974</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R975">975</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R976">976</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ec946394c28f515713ff11245e0e8d73c74405c4#L0R977">977</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">@@ -808,6 +808,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">int ha_mroonga::rnd_next(uchar *buf)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> int n_columns = table->s->fields;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> for (i=0; i < n_columns; i++) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> Field *field = table->field[i];</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ bitmap_set_bit(table->write_set, field->field_index);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> mrn_store_field(ctx, field, col[i], row_id);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return 0;</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -820,6 +821,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">int ha_mroonga::rnd_pos(uchar *buf, uchar *pos)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> int n_columns = table->s->fields;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> for (i=0; i < n_columns; i++) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> Field *field = table->field[i];</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ bitmap_set_bit(table->write_set, field->field_index);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> mrn_store_field(ctx, field, col[i], row_id);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return 0;</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -842,6 +844,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">int ha_mroonga::write_row(uchar *buf)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> // surpose simgle column key</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> int field_no = key_info.key_part[0].field->field_index;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> Field *pkey_field = table->field[field_no];</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ bitmap_set_bit(table->read_set, pkey_field->field_index);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> mrn_set_buf(ctx, pkey_field, &wrapper, &pkey_size);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> pkey = GRN_TEXT_VALUE(&wrapper);</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">@@ -860,6 +863,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">int ha_mroonga::write_row(uchar *buf)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> GRN_VOID_INIT(&colbuf);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> for (i=0; i < n_columns; i++) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> Field *field = table->field[i];</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ bitmap_set_bit(table->read_set, field->field_index);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> mrn_set_buf(ctx, field, &colbuf, &col_size);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (grn_obj_set_value(ctx, col[i], row_id, &colbuf, GRN_OBJ_SET)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> != GRN_SUCCESS) {</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -879,6 +883,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">int ha_mroonga::update_row(const uchar *old_data, uchar *new_data)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> GRN_VOID_INIT(&colbuf);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> for (i=0; i < n_columns; i++) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> Field *field = table->field[i];</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ bitmap_set_bit(table->read_set, field->field_index);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> mrn_set_buf(ctx, field, &colbuf, &col_size);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (grn_obj_set_value(ctx, col[i], row_id, &colbuf, GRN_OBJ_SET)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> != GRN_SUCCESS) {</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -966,6 +971,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">int ha_mroonga::ft_read(uchar *buf)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> int n_columns = table->s->fields;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> for (i=0; i < n_columns; i++) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> Field *field = table->field[i];</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ bitmap_set_bit(table->write_set, field->field_index);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> mrn_store_field(ctx, field, col[i], row_id);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return 0;</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>