<!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">Kenji Maruyama <mmmar****@gmail*****></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
<dd style="margin-left: 8.5em">2014-02-22 02:16:28 +0900 (Sat, 22 Feb 2014)</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/5475f5f30c1d27771750c65819f5b7f8496c7cce">5475f5f30c1d27771750c65819f5b7f8496c7cce</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">Fix alter table with fulltext index which refer to table returns empty result on MySQL5.5 or MariaDB5.5
refs #2327
[groonga-dev,02130]
Reported by Naoya Murakami. Thanks!</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/5475f5f30c1d27771750c65819f5b7f8496c7cce#diff-0">ha_mroonga.cpp</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: ha_mroonga.cpp (+16 -8)</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/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0L13585">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0L13586">13586</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0L13587">13587</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0L13588">13588</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/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0L13589">13589</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/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0L13590">13590</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/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0L13591">13591</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0L13592">13592</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0L13593">13593</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0L13595">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0L13596">13596</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0L13597">13597</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0L13598">13598</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/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0L13599">13599</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/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0L13600">13600</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-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0L13601">13601</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0L13602">13602</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0L13603">13603</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0L13605">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0L13606">13606</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0L13607">13607</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0L13608">13608</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/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0L13609">13609</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/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0L13610">13610</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/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0L13611">13611</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0L13612">13612</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/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0L13613">13613</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/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0L13614">13614</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-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0L13615">13615</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0L13616">13616</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0L13617">13617</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/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0R13585">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0R13586">13586</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0R13587">13587</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0R13588">13588</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/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0R13589">13589</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/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0R13590">13590</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0R13591">13591</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0R13592">13592</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0R13593">13593</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0R13595">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0R13596">13596</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0R13597">13597</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0R13598">13598</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/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0R13599">13599</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/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0R13600">13600</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/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0R13601">13601</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/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0R13602">13602</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/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0R13603">13603</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/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0R13604">13604</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/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0R13605">13605</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/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0R13606">13606</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0R13607">13607</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0R13608">13608</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0R13609">13609</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0R13611">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0R13612">13612</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0R13613">13613</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0R13614">13614</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/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0R13615">13615</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/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0R13616">13616</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0R13617">13617</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0R13618">13618</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/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0R13619">13619</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/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0R13620">13620</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/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0R13621">13621</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/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0R13622">13622</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0R13623">13623</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0R13624">13624</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5475f5f30c1d27771750c65819f5b7f8496c7cce#L0R13625">13625</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">@@ -13586,8 +13586,8 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">int ha_mroonga::storage_add_index(TABLE *table_arg, KEY *key_info,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> MRN_ALLOCATE_VARIABLE_LENGTH_ARRAYS(grn_obj *, index_columns, num_of_keys + n_keys);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> MRN_SHARE *tmp_share;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> TABLE_SHARE tmp_table_share;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- char **key_parser;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- uint *key_parser_length;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ char **index_table, **key_parser, **col_flags, **col_type;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ uint *index_table_length, *key_parser_length, *col_flags_length, *col_type_length;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> bool have_multiple_column_index = 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"> MRN_DBUG_ENTER_METHOD();</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -13596,8 +13596,14 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">int ha_mroonga::storage_add_index(TABLE *table_arg, KEY *key_info,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (!(tmp_share = (MRN_SHARE *)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> my_multi_malloc(MYF(MY_WME | MY_ZEROFILL),</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> &tmp_share, sizeof(*tmp_share),</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- &key_parser, sizeof(char *) * (n_keys + num_of_keys),</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- &key_parser_length, sizeof(uint) * (n_keys + num_of_keys),</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ &index_table, sizeof(char*) * tmp_table_share.keys,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ &index_table_length, sizeof(uint) * tmp_table_share.keys,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ &key_parser, sizeof(char *) * tmp_table_share.keys,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ &key_parser_length, sizeof(uint) * tmp_table_share.keys,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ &col_flags, sizeof(char *) * tmp_table_share.fields,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ &col_flags_length, sizeof(uint) * tmp_table_share.fields,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ &col_type, sizeof(char *) * tmp_table_share.fields,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ &col_type_length, sizeof(uint) * tmp_table_share.fields,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> NullS))</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_FREE_VARIABLE_LENGTH_ARRAYS(index_tables);</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -13606,12 +13612,14 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">int ha_mroonga::storage_add_index(TABLE *table_arg, KEY *key_info,</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"> tmp_share->engine = NULL;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> tmp_share->table_share = &tmp_table_share;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- tmp_share->index_table = NULL;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- tmp_share->index_table_length = NULL;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ tmp_share->index_table = index_table;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ tmp_share->index_table_length = index_table_length;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> tmp_share->key_parser = key_parser;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> tmp_share->key_parser_length = key_parser_length;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- tmp_share->col_flags = NULL;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- tmp_share->col_type = NULL;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ tmp_share->col_flags = col_flags;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ tmp_share->col_flags_length = col_flags_length;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ tmp_share->col_type = col_type;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ tmp_share->col_type_length = col_type_length;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> bitmap_clear_all(table->read_set);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> mrn::PathMapper mapper(share->table_name);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> for (i = 0; i < num_of_keys; i++) {</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>