<!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 &lt;ikdtt****@gmail*****&gt;</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
      <dd style="margin-left: 8.5em">2009-07-29 17:31:29 +0900 (Wed, 29 Jul 2009)</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/ba4ea9eae4400d344724aaf5e7167a71dea58c40">ba4ea9eae4400d344724aaf5e7167a71dea58c40</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, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; padding: 0.5em">refactoring on ha_groonga::rnd_next.</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/ba4ea9eae4400d344724aaf5e7167a71dea58c40#diff-0">ha_groonga.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, &quot;Liberation Mono&quot;, 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_groonga.cc (+10 -11)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
            </td>
          </tr>
        </thead>
        <tbody>
          <tr>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0L521">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0L522">522</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0L523">523</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0L524">524</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0L525">525</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0L526">526</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0L527">527</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0L528">528</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0L529">529</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0L530">530</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0L531">531</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0L532">532</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0L533">533</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0L534">534</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0L535">535</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0L536">536</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0L537">537</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0L538">538</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0L539">539</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0L540">540</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0L541">541</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0L542">542</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0L543">543</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0L544">544</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0L545">545</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0L546">546</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0L547">547</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0L548">548</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0L549">549</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0L550">550</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0L551">551</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0L552">552</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0L553">553</a></span>
</pre>
            </th>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0R521">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0R522">522</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0R523">523</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0R524">524</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</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/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0R525">525</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/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0R526">526</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/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0R527">527</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/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0R528">528</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/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0R529">529</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0R530">530</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0R531">531</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0R532">532</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0R533">533</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0R534">534</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0R535">535</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0R536">536</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</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/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0R537">537</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0R538">538</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0R539">539</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0R540">540</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0R541">541</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0R542">542</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0R543">543</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0R544">544</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0R545">545</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0R546">546</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0R547">547</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0R548">548</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0R549">549</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0R550">550</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0R551">551</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ba4ea9eae4400d344724aaf5e7167a71dea58c40#L0R552">552</a></span>
</pre>
            </th>
            <td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -522,32 +522,31 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">int ha_groonga::rnd_next(uchar *buf)</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 (rc == 0)</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">-    Field **field;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-    int i,j;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-    for (i=0,j=0, field = table-&gt;field; *field; i++, field++)</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    Field **field = table-&gt;field;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    mrn_column_info **column = cond-&gt;list-&gt;columns;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    grn_obj *value;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    int i;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    for (i=0; *field; field++, column++)</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">-      if ((cond) &amp;&amp; (cond-&gt;list-&gt;columns[i] == NULL))</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      if ((cond) &amp;&amp; (*column == NULL))</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       {</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         (*field)-&gt;set_null();</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       }</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       else</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">-        int vint;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-        char *vchar;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+        value = record-&gt;value[i];</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         switch ((*field)-&gt;type())</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         {</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         case (MYSQL_TYPE_LONG) :</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-          vint = GRN_INT32_VALUE(record-&gt;value[j]);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">           (*field)-&gt;set_notnull();</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-          (*field)-&gt;store(vint);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+          (*field)-&gt;store(GRN_INT32_VALUE(value));</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">         case (MYSQL_TYPE_VARCHAR) :</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-          vchar = GRN_TEXT_VALUE(record-&gt;value[j]);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">           (*field)-&gt;set_notnull();</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-          (*field)-&gt;store(vchar, GRN_BULK_WSIZE(record-&gt;value[j]), (*field)-&gt;charset());</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+          (*field)-&gt;store(GRN_TEXT_VALUE(value), GRN_BULK_WSIZE(value), (*field)-&gt;charset());</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">         }</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-        j++;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+        i++;</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">     mrn_rewind_record(ctx, record);</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>