<!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-10-20 15:19:32 +0900 (Tue, 20 Oct 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/79a59cec8a3f98cea9697809ddda551f82bf2985">79a59cec8a3f98cea9697809ddda551f82bf2985</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">schema: use common code</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/79a59cec8a3f98cea9697809ddda551f82bf2985#diff-0b9a1f2f3159cd485a6bb4bfb332f470">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, "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/proc.c (+9 -17)</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/79a59cec8a3f98cea9697809ddda551f82bf2985#diff-0b9a1f2f3159cd485a6bb4bfb332f470L7728">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/79a59cec8a3f98cea9697809ddda551f82bf2985#diff-0b9a1f2f3159cd485a6bb4bfb332f470L7729">7729</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/79a59cec8a3f98cea9697809ddda551f82bf2985#diff-0b9a1f2f3159cd485a6bb4bfb332f470L7730">7730</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/79a59cec8a3f98cea9697809ddda551f82bf2985#diff-0b9a1f2f3159cd485a6bb4bfb332f470L7731">7731</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/79a59cec8a3f98cea9697809ddda551f82bf2985#diff-0b9a1f2f3159cd485a6bb4bfb332f470L7732">7732</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/79a59cec8a3f98cea9697809ddda551f82bf2985#diff-0b9a1f2f3159cd485a6bb4bfb332f470L7733">7733</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/79a59cec8a3f98cea9697809ddda551f82bf2985#diff-0b9a1f2f3159cd485a6bb4bfb332f470L7734">7734</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/79a59cec8a3f98cea9697809ddda551f82bf2985#diff-0b9a1f2f3159cd485a6bb4bfb332f470L7735">7735</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/79a59cec8a3f98cea9697809ddda551f82bf2985#diff-0b9a1f2f3159cd485a6bb4bfb332f470L7736">7736</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/79a59cec8a3f98cea9697809ddda551f82bf2985#diff-0b9a1f2f3159cd485a6bb4bfb332f470L7737">7737</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/79a59cec8a3f98cea9697809ddda551f82bf2985#diff-0b9a1f2f3159cd485a6bb4bfb332f470L7738">7738</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/79a59cec8a3f98cea9697809ddda551f82bf2985#diff-0b9a1f2f3159cd485a6bb4bfb332f470L7739">7739</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/79a59cec8a3f98cea9697809ddda551f82bf2985#diff-0b9a1f2f3159cd485a6bb4bfb332f470L7740">7740</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/79a59cec8a3f98cea9697809ddda551f82bf2985#diff-0b9a1f2f3159cd485a6bb4bfb332f470L7741">7741</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/79a59cec8a3f98cea9697809ddda551f82bf2985#diff-0b9a1f2f3159cd485a6bb4bfb332f470L7742">7742</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/79a59cec8a3f98cea9697809ddda551f82bf2985#diff-0b9a1f2f3159cd485a6bb4bfb332f470L7743">7743</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/79a59cec8a3f98cea9697809ddda551f82bf2985#diff-0b9a1f2f3159cd485a6bb4bfb332f470L7744">7744</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/79a59cec8a3f98cea9697809ddda551f82bf2985#diff-0b9a1f2f3159cd485a6bb4bfb332f470L7745">7745</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/79a59cec8a3f98cea9697809ddda551f82bf2985#diff-0b9a1f2f3159cd485a6bb4bfb332f470L7746">7746</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/79a59cec8a3f98cea9697809ddda551f82bf2985#diff-0b9a1f2f3159cd485a6bb4bfb332f470L7747">7747</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/79a59cec8a3f98cea9697809ddda551f82bf2985#diff-0b9a1f2f3159cd485a6bb4bfb332f470L7748">7748</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-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-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-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-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/79a59cec8a3f98cea9697809ddda551f82bf2985#diff-0b9a1f2f3159cd485a6bb4bfb332f470L7749">7749</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/79a59cec8a3f98cea9697809ddda551f82bf2985#diff-0b9a1f2f3159cd485a6bb4bfb332f470L7750">7750</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/79a59cec8a3f98cea9697809ddda551f82bf2985#diff-0b9a1f2f3159cd485a6bb4bfb332f470L7751">7751</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/79a59cec8a3f98cea9697809ddda551f82bf2985#diff-0b9a1f2f3159cd485a6bb4bfb332f470R7728">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/79a59cec8a3f98cea9697809ddda551f82bf2985#diff-0b9a1f2f3159cd485a6bb4bfb332f470R7729">7729</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/79a59cec8a3f98cea9697809ddda551f82bf2985#diff-0b9a1f2f3159cd485a6bb4bfb332f470R7730">7730</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/79a59cec8a3f98cea9697809ddda551f82bf2985#diff-0b9a1f2f3159cd485a6bb4bfb332f470R7731">7731</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-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-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-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-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-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-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-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-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/79a59cec8a3f98cea9697809ddda551f82bf2985#diff-0b9a1f2f3159cd485a6bb4bfb332f470R7732">7732</a></span>
<span class="diff-line-number-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/79a59cec8a3f98cea9697809ddda551f82bf2985#diff-0b9a1f2f3159cd485a6bb4bfb332f470R7733">7733</a></span>
<span class="diff-line-number-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/79a59cec8a3f98cea9697809ddda551f82bf2985#diff-0b9a1f2f3159cd485a6bb4bfb332f470R7734">7734</a></span>
<span class="diff-line-number-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/79a59cec8a3f98cea9697809ddda551f82bf2985#diff-0b9a1f2f3159cd485a6bb4bfb332f470R7735">7735</a></span>
<span class="diff-line-number-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/79a59cec8a3f98cea9697809ddda551f82bf2985#diff-0b9a1f2f3159cd485a6bb4bfb332f470R7736">7736</a></span>
<span class="diff-line-number-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/79a59cec8a3f98cea9697809ddda551f82bf2985#diff-0b9a1f2f3159cd485a6bb4bfb332f470R7737">7737</a></span>
<span class="diff-line-number-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/79a59cec8a3f98cea9697809ddda551f82bf2985#diff-0b9a1f2f3159cd485a6bb4bfb332f470R7738">7738</a></span>
<span class="diff-line-number-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/79a59cec8a3f98cea9697809ddda551f82bf2985#diff-0b9a1f2f3159cd485a6bb4bfb332f470R7739">7739</a></span>
<span class="diff-line-number-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/79a59cec8a3f98cea9697809ddda551f82bf2985#diff-0b9a1f2f3159cd485a6bb4bfb332f470R7740">7740</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/79a59cec8a3f98cea9697809ddda551f82bf2985#diff-0b9a1f2f3159cd485a6bb4bfb332f470R7741">7741</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/79a59cec8a3f98cea9697809ddda551f82bf2985#diff-0b9a1f2f3159cd485a6bb4bfb332f470R7742">7742</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/79a59cec8a3f98cea9697809ddda551f82bf2985#diff-0b9a1f2f3159cd485a6bb4bfb332f470R7743">7743</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">@@ -7729,23 +7729,15 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">proc_schema_table_command_collect_arguments(grn_ctx *ctx,</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"> ADD_OBJECT_NAME("name", table);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">- switch (table->header.type) {</span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">- case GRN_TABLE_NO_KEY :</span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">- ADD("flags", "TABLE_NO_KEY");</span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">- break;</span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">- case GRN_TABLE_HASH_KEY :</span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">- ADD("flags", "TABLE_HASH_KEY");</span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">- break;</span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">- case GRN_TABLE_PAT_KEY :</span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">- if (table->header.flags & GRN_OBJ_KEY_WITH_SIS) {</span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">- ADD("flags", "TABLE_PAT_KEY|KEY_WITH_SIS");</span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">- } else {</span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">- ADD("flags", "TABLE_PAT_KEY");</span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">- }</span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">- break;</span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">- case GRN_TABLE_DAT_KEY :</span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">- ADD("flags", "TABLE_DAT_KEY");</span>
<span class="diff-deleted" style="background-color: #ffdddd; color: #000000; display: block; white-space: pre">- break;</span>
<span class="diff-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre">+ {</span>
<span class="diff-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre">+ grn_obj flags;</span>
<span class="diff-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre">+ grn_obj_flags ignored_flags = GRN_OBJ_KEY_NORMALIZE | GRN_OBJ_PERSISTENT;</span>
<span class="diff-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre">+ GRN_TEXT_INIT(&flags, 0);</span>
<span class="diff-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre">+ grn_table_create_flags_to_text(ctx, &flags,</span>
<span class="diff-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre">+ table->header.flags & ~ignored_flags);</span>
<span class="diff-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre">+ GRN_TEXT_PUTC(ctx, &flags, '\0');</span>
<span class="diff-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre">+ ADD("flags", GRN_TEXT_VALUE(&flags));</span>
<span class="diff-added" style="background-color: #dbffdb; color: #000000; display: block; white-space: pre">+ GRN_OBJ_FIN(ctx, &flags);</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"> {</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>