<!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-09-23 22:05:30 +0900 (Fri, 23 Sep 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/0e4d9b88c073efd180aed2038316c2c466e9a38f">0e4d9b88c073efd180aed2038316c2c466e9a38f</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">[storage] idx_name -> index_name.</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/0e4d9b88c073efd180aed2038316c2c466e9a38f#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 (+6 -6)</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/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0L1625">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0L1626">1626</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0L1627">1627</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0L1628">1628</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/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0L1629">1629</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/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0L1630">1630</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0L1631">1631</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0L1632">1632</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0L1659">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0L1660">1660</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0L1661">1661</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0L1662">1662</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/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0L1663">1663</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/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0L1664">1664</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0L1665">1665</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0L1666">1666</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0L1673">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0L1674">1674</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0L1675">1675</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0L1676">1676</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/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0L1677">1677</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/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0L1678">1678</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0L1679">1679</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0L1680">1680</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0L2409">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0L2410">2410</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0L2411">2411</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0L2412">2412</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/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0L2413">2413</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/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0L2414">2414</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0L2415">2415</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0L2416">2416</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0L2417">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0L2418">2418</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0L2419">2419</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0L2420">2420</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/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0L2421">2421</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/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0L2422">2422</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/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0L2423">2423</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0L2424">2424</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0L2425">2425</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/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0R1625">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0R1626">1626</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0R1627">1627</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0R1628">1628</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/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0R1629">1629</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0R1630">1630</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0R1631">1631</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0R1632">1632</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0R1659">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0R1660">1660</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0R1661">1661</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0R1662">1662</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/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0R1663">1663</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0R1664">1664</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0R1665">1665</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0R1666">1666</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0R1673">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0R1674">1674</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0R1675">1675</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0R1676">1676</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/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0R1677">1677</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0R1678">1678</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0R1679">1679</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0R1680">1680</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0R2409">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0R2410">2410</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0R2411">2411</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0R2412">2412</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/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0R2413">2413</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0R2414">2414</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0R2415">2415</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0R2416">2416</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0R2417">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0R2418">2418</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0R2419">2419</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0R2420">2420</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/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0R2421">2421</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/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0R2422">2422</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0R2423">2423</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0R2424">2424</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/0e4d9b88c073efd180aed2038316c2c466e9a38f#L0R2425">2425</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">@@ -1626,7 +1626,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">int ha_mroonga::storage_create(const char *name, TABLE *table,</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"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> /* create indexes */</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- char idx_name[MRN_MAX_PATH_SIZE];</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ char index_name[MRN_MAX_PATH_SIZE];</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="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-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -1660,7 +1660,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">int ha_mroonga::storage_create(const char *name, TABLE *table,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> index_type = grn_ctx_at(ctx, GRN_DB_SHORT_TEXT);</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">- mrn_index_table_name_gen(tbl_name, key_info.name, idx_name);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ mrn_index_table_name_gen(tbl_name, key_info.name, index_name);</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_obj_flags idx_col_flags =</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> GRN_OBJ_COLUMN_INDEX | GRN_OBJ_WITH_POSITION | GRN_OBJ_PERSISTENT;</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -1674,7 +1674,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">int ha_mroonga::storage_create(const char *name, TABLE *table,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> index_table_flags |= GRN_OBJ_TABLE_PAT_KEY;</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">- idx_tbl_obj = grn_table_create(ctx, idx_name, strlen(idx_name), NULL,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ idx_tbl_obj = grn_table_create(ctx, index_name, strlen(index_name), NULL,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> index_table_flags, index_type, 0);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (ctx->rc) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> grn_obj_remove(ctx, tbl_obj);</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -2410,7 +2410,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">int ha_mroonga::storage_delete_table(const char *name, MRN_SHARE *tmp_share,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> int error;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> TABLE_SHARE *tmp_table_share = tmp_share->table_share;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> MRN_DBUG_ENTER_METHOD();</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- char idx_name[MRN_MAX_PATH_SIZE];</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ char index_name[MRN_MAX_PATH_SIZE];</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> error = ensure_database_open(name);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (error)</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -2418,8 +2418,8 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">int ha_mroonga::storage_delete_table(const char *name, MRN_SHARE *tmp_share,</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 i;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> for (i = 0; i < tmp_table_share->keys; i++) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- mrn_index_table_name_gen(tbl_name, tmp_table_share->key_info[i].name, idx_name);</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- grn_obj *idx_tbl_obj = grn_ctx_get(ctx, idx_name, strlen(idx_name));</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ mrn_index_table_name_gen(tbl_name, tmp_table_share->key_info[i].name, index_name);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ grn_obj *idx_tbl_obj = grn_ctx_get(ctx, index_name, strlen(index_name));</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (idx_tbl_obj != NULL) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> grn_obj_remove(ctx, idx_tbl_obj);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>