<!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">2011-06-20 16:27:38 +0900 (Mon, 20 Jun 2011)</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/5cfb8a8f05d2e25525465abc27ce3349de619955">5cfb8a8f05d2e25525465abc27ce3349de619955</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">[wrapper] cleanup variable definitions.</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/5cfb8a8f05d2e25525465abc27ce3349de619955#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 (+4 -1)</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/5cfb8a8f05d2e25525465abc27ce3349de619955#L0L2630">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5cfb8a8f05d2e25525465abc27ce3349de619955#L0L2631">2631</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5cfb8a8f05d2e25525465abc27ce3349de619955#L0L2632">2632</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5cfb8a8f05d2e25525465abc27ce3349de619955#L0L2633">2633</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5cfb8a8f05d2e25525465abc27ce3349de619955#L0L2634">2634</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/5cfb8a8f05d2e25525465abc27ce3349de619955#L0L2635">2635</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5cfb8a8f05d2e25525465abc27ce3349de619955#L0L2636">2636</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5cfb8a8f05d2e25525465abc27ce3349de619955#L0L2637">2637</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5cfb8a8f05d2e25525465abc27ce3349de619955#L0L2638">2638</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5cfb8a8f05d2e25525465abc27ce3349de619955#L0L2650">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5cfb8a8f05d2e25525465abc27ce3349de619955#L0L2651">2651</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5cfb8a8f05d2e25525465abc27ce3349de619955#L0L2652">2652</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5cfb8a8f05d2e25525465abc27ce3349de619955#L0L2653">2653</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5cfb8a8f05d2e25525465abc27ce3349de619955#L0L2654">2654</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5cfb8a8f05d2e25525465abc27ce3349de619955#L0L2655">2655</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5cfb8a8f05d2e25525465abc27ce3349de619955#L0L2656">2656</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/5cfb8a8f05d2e25525465abc27ce3349de619955#L0R2630">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5cfb8a8f05d2e25525465abc27ce3349de619955#L0R2631">2631</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5cfb8a8f05d2e25525465abc27ce3349de619955#L0R2632">2632</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5cfb8a8f05d2e25525465abc27ce3349de619955#L0R2633">2633</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/5cfb8a8f05d2e25525465abc27ce3349de619955#L0R2634">2634</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/5cfb8a8f05d2e25525465abc27ce3349de619955#L0R2635">2635</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5cfb8a8f05d2e25525465abc27ce3349de619955#L0R2636">2636</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/5cfb8a8f05d2e25525465abc27ce3349de619955#L0R2637">2637</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5cfb8a8f05d2e25525465abc27ce3349de619955#L0R2638">2638</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5cfb8a8f05d2e25525465abc27ce3349de619955#L0R2639">2639</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5cfb8a8f05d2e25525465abc27ce3349de619955#L0R2651">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5cfb8a8f05d2e25525465abc27ce3349de619955#L0R2652">2652</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5cfb8a8f05d2e25525465abc27ce3349de619955#L0R2653">2653</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5cfb8a8f05d2e25525465abc27ce3349de619955#L0R2654">2654</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/5cfb8a8f05d2e25525465abc27ce3349de619955#L0R2655">2655</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/5cfb8a8f05d2e25525465abc27ce3349de619955#L0R2656">2656</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5cfb8a8f05d2e25525465abc27ce3349de619955#L0R2657">2657</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5cfb8a8f05d2e25525465abc27ce3349de619955#L0R2658">2658</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5cfb8a8f05d2e25525465abc27ce3349de619955#L0R2659">2659</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">@@ -2631,8 +2631,9 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">int ha_mroonga::wrapper_write_row_index(uchar *buf)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #ifndef DBUG_OFF</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> my_bitmap_map *tmp_map = dbug_tmp_use_all_columns(table, table->read_set);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #endif</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ uint i;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ uint n_keys = table->s->keys;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> for (i = 0; i < n_keys; i++) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- grn_rc rc;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> KEY key_info = table->key_info[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"> if (key_info.algorithm != HA_KEY_ALG_FULLTEXT) {</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -2651,6 +2652,8 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">int ha_mroonga::wrapper_write_row_index(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"> int new_column_size;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> mrn_set_buf(ctx, field, &new_value, &new_column_size);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ grn_rc rc;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> rc = grn_column_index_update(ctx, index_column, record_id, 1,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> NULL, &new_value);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (rc) {</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>