<!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">2012-02-24 14:39:17 +0900 (Fri, 24 Feb 2012)</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/dce51c52886fea53dcfd08ec4c513517ee206406">dce51c52886fea53dcfd08ec4c513517ee206406</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">Fix indent.</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/dce51c52886fea53dcfd08ec4c513517ee206406#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 -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, "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/dce51c52886fea53dcfd08ec4c513517ee206406#L0L10029">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/dce51c52886fea53dcfd08ec4c513517ee206406#L0L10030">10030</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/dce51c52886fea53dcfd08ec4c513517ee206406#L0L10031">10031</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/dce51c52886fea53dcfd08ec4c513517ee206406#L0L10032">10032</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/dce51c52886fea53dcfd08ec4c513517ee206406#L0L10033">10033</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/dce51c52886fea53dcfd08ec4c513517ee206406#L0L10034">10034</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/dce51c52886fea53dcfd08ec4c513517ee206406#L0L10035">10035</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/dce51c52886fea53dcfd08ec4c513517ee206406#L0L10036">10036</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/dce51c52886fea53dcfd08ec4c513517ee206406#L0L10037">10037</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/dce51c52886fea53dcfd08ec4c513517ee206406#L0L10038">10038</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/dce51c52886fea53dcfd08ec4c513517ee206406#L0L10039">10039</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/dce51c52886fea53dcfd08ec4c513517ee206406#L0L10040">10040</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/dce51c52886fea53dcfd08ec4c513517ee206406#L0L10041">10041</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/dce51c52886fea53dcfd08ec4c513517ee206406#L0L10042">10042</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/dce51c52886fea53dcfd08ec4c513517ee206406#L0R10029">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/dce51c52886fea53dcfd08ec4c513517ee206406#L0R10030">10030</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/dce51c52886fea53dcfd08ec4c513517ee206406#L0R10031">10031</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/dce51c52886fea53dcfd08ec4c513517ee206406#L0R10032">10032</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-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/dce51c52886fea53dcfd08ec4c513517ee206406#L0R10033">10033</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/dce51c52886fea53dcfd08ec4c513517ee206406#L0R10034">10034</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/dce51c52886fea53dcfd08ec4c513517ee206406#L0R10035">10035</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/dce51c52886fea53dcfd08ec4c513517ee206406#L0R10036">10036</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/dce51c52886fea53dcfd08ec4c513517ee206406#L0R10037">10037</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/dce51c52886fea53dcfd08ec4c513517ee206406#L0R10038">10038</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </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/dce51c52886fea53dcfd08ec4c513517ee206406#L0R10039">10039</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/dce51c52886fea53dcfd08ec4c513517ee206406#L0R10040">10040</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/dce51c52886fea53dcfd08ec4c513517ee206406#L0R10041">10041</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/dce51c52886fea53dcfd08ec4c513517ee206406#L0R10042">10042</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/dce51c52886fea53dcfd08ec4c513517ee206406#L0R10043">10043</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">@@ -10030,13 +10030,14 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">int ha_mroonga::wrapper_recreate_indexes(THD *thd)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> grn_bulk_space(ctx, &key, p_key_info->key_length);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> while (!(res = wrapper_rnd_next(table->record[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">- key_copy((uchar *) (GRN_TEXT_VALUE(&key)), table->record[0],</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- p_key_info, p_key_info->key_length);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ key_copy((uchar *)(GRN_TEXT_VALUE(&key)), table->record[0],</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ p_key_info, p_key_info->key_length);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> int added;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> grn_id record_id;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> mrn_change_encoding(ctx, NULL);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> record_id = grn_table_add(ctx, grn_table,</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- GRN_TEXT_VALUE(&key), GRN_TEXT_LEN(&key), &added);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ GRN_TEXT_VALUE(&key), GRN_TEXT_LEN(&key),</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ &added);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (record_id == GRN_ID_NIL)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> char error_message[MRN_MESSAGE_BUFFER_SIZE];</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>