<!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 &lt;kou****@clear*****&gt;</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
      <dd style="margin-left: 8.5em">2015-04-03 16:45:18 +0900 (Fri, 03 Apr 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/255576ec9d8c126a2569f100c7e5ba8ecc871ebb">255576ec9d8c126a2569f100c7e5ba8ecc871ebb</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, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">dump: fix a bug that no column table isn't dumped</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/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#diff-0">lib/proc.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, &quot;Liberation Mono&quot;, 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/proc.c (+5 -3)</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; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0L2939">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0L2940">2940</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0L2941">2941</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0L2942">2942</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/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0L2943">2943</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-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0L2944">2944</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0L2945">2945</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0L2946">2946</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0L2964">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0L2965">2965</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0L2966">2966</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0L2967">2967</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/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0L2968">2968</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0L2969">2969</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0L2970">2970</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0L2971">2971</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/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0L2972">2972</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/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0L2973">2973</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0L2974">2974</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0L2975">2975</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0L2992">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0L2993">2993</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0L2994">2994</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0L2995">2995</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/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0L2996">2996</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/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0L2997">2997</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0L2998">2998</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0L2999">2999</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; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0R2939">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0R2940">2940</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0R2941">2941</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0R2942">2942</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/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0R2943">2943</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/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0R2944">2944</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0R2945">2945</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0R2946">2946</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0R2947">2947</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0R2965">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0R2966">2966</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0R2967">2967</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0R2968">2968</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/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0R2969">2969</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0R2970">2970</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0R2971">2971</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0R2972">2972</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0R2973">2973</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/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0R2974">2974</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0R2975">2975</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0R2976">2976</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0R2977">2977</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0R2994">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0R2995">2995</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0R2996">2996</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0R2997">2997</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/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0R2998">2998</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0R2999">2999</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0R3000">3000</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/255576ec9d8c126a2569f100c7e5ba8ecc871ebb#L0R3001">3001</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; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -2940,7 +2940,8 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">dump_records(grn_ctx *ctx, grn_obj *outbuf, grn_obj *table)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">   grn_table_cursor *cursor;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   int i, ncolumns, n_use_columns;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   grn_obj columnbuf, delete_commands, use_columns, column_name;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-  grn_bool have_only_index_column = GRN_TRUE;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  grn_bool have_index_column = GRN_FALSE;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  grn_bool have_data_column = GRN_FALSE;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre">   switch (table-&gt;header.type) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   case GRN_TABLE_HASH_KEY:</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -2965,11 +2966,12 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">dump_records(grn_ctx *ctx, grn_obj *outbuf, grn_obj *table)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">   GRN_TEXT_INIT(&amp;column_name, 0);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   for (i = 0; i &lt; ncolumns; i++) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     if (GRN_OBJ_INDEX_COLUMNP(columns[i])) {</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      have_index_column = GRN_TRUE;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       continue;</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">     if (columns[i]-&gt;header.type != GRN_ACCESSOR) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-      have_only_index_column = GRN_FALSE;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      have_data_column = GRN_TRUE;</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_BULK_REWIND(&amp;column_name);</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -2993,7 +2995,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">dump_records(grn_ctx *ctx, grn_obj *outbuf, grn_obj *table)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">     GRN_PTR_PUT(ctx, &amp;use_columns, columns[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-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-  if (have_only_index_column) {</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  if (have_index_column &amp;&amp; !have_data_column) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     goto exit;</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>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>