<!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 &lt;kou****@clear*****&gt;</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
      <dd style="margin-left: 8.5em">2015-03-16 22:48:37 +0900 (Mon, 16 Mar 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/mroonga/mroonga/commit/b130d32344dd699874e2bab27fa61b6ae7dc08ff">b130d32344dd699874e2bab27fa61b6ae7dc08ff</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, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">mysql57: duplicate table 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/b130d32344dd699874e2bab27fa61b6ae7dc08ff#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, &quot;Liberation Mono&quot;, 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 (+6 -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, &quot;Liberation Mono&quot;, 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/b130d32344dd699874e2bab27fa61b6ae7dc08ff#L0L2257">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/b130d32344dd699874e2bab27fa61b6ae7dc08ff#L0L2258">2258</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/b130d32344dd699874e2bab27fa61b6ae7dc08ff#L0L2259">2259</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/b130d32344dd699874e2bab27fa61b6ae7dc08ff#L0L2260">2260</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/b130d32344dd699874e2bab27fa61b6ae7dc08ff#L0L2261">2261</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/b130d32344dd699874e2bab27fa61b6ae7dc08ff#L0L2262">2262</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/b130d32344dd699874e2bab27fa61b6ae7dc08ff#L0L2263">2263</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/b130d32344dd699874e2bab27fa61b6ae7dc08ff#L0L2685">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/b130d32344dd699874e2bab27fa61b6ae7dc08ff#L0L2686">2686</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/b130d32344dd699874e2bab27fa61b6ae7dc08ff#L0L2687">2687</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/b130d32344dd699874e2bab27fa61b6ae7dc08ff#L0L2688">2688</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/b130d32344dd699874e2bab27fa61b6ae7dc08ff#L0L2689">2689</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/b130d32344dd699874e2bab27fa61b6ae7dc08ff#L0L2690">2690</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/b130d32344dd699874e2bab27fa61b6ae7dc08ff#L0L2691">2691</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/b130d32344dd699874e2bab27fa61b6ae7dc08ff#L0L2692">2692</a></span>
</pre>
            </th>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, 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/b130d32344dd699874e2bab27fa61b6ae7dc08ff#L0R2257">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/b130d32344dd699874e2bab27fa61b6ae7dc08ff#L0R2258">2258</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/b130d32344dd699874e2bab27fa61b6ae7dc08ff#L0R2259">2259</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/b130d32344dd699874e2bab27fa61b6ae7dc08ff#L0R2260">2260</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/b130d32344dd699874e2bab27fa61b6ae7dc08ff#L0R2261">2261</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/b130d32344dd699874e2bab27fa61b6ae7dc08ff#L0R2262">2262</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/b130d32344dd699874e2bab27fa61b6ae7dc08ff#L0R2263">2263</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/b130d32344dd699874e2bab27fa61b6ae7dc08ff#L0R2264">2264</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/b130d32344dd699874e2bab27fa61b6ae7dc08ff#L0R2265">2265</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/b130d32344dd699874e2bab27fa61b6ae7dc08ff#L0R2266">2266</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/b130d32344dd699874e2bab27fa61b6ae7dc08ff#L0R2688">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/b130d32344dd699874e2bab27fa61b6ae7dc08ff#L0R2689">2689</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/b130d32344dd699874e2bab27fa61b6ae7dc08ff#L0R2690">2690</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/b130d32344dd699874e2bab27fa61b6ae7dc08ff#L0R2691">2691</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</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/b130d32344dd699874e2bab27fa61b6ae7dc08ff#L0R2692">2692</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/b130d32344dd699874e2bab27fa61b6ae7dc08ff#L0R2693">2693</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/b130d32344dd699874e2bab27fa61b6ae7dc08ff#L0R2694">2694</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/b130d32344dd699874e2bab27fa61b6ae7dc08ff#L0R2695">2695</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/b130d32344dd699874e2bab27fa61b6ae7dc08ff#L0R2696">2696</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/b130d32344dd699874e2bab27fa61b6ae7dc08ff#L0R2697">2697</a></span>
</pre>
            </th>
            <td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, 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">@@ -2258,6 +2258,9 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">ha_mroonga::~ha_mroonga()</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">     if (share_for_create.wrapper_mode) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       plugin_unlock(NULL, share_for_create.plugin);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     }</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    if (share_for_create.table_name) {</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      my_free(share_for_create.table_name);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    }</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     mrn_free_share_alloc(&amp;share_for_create);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     free_root(&amp;mem_root_for_create, MYF(0));</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   }</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -2686,7 +2689,9 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">int ha_mroonga::create_share_for_create() const</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">   mrn_init_alloc_root(&amp;mem_root_for_create, 1024, 0, MYF(0));</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   analyzed_for_create = true;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   if (table_list) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-    share_for_create.table_name = table_list-&gt;table_name;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    share_for_create.table_name = mrn_my_strndup(table_list-&gt;table_name,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+                                                 table_list-&gt;table_name_length,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+                                                 MYF(MY_WME));</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     share_for_create.table_name_length = table_list-&gt;table_name_length;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   }</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   share_for_create.table_share = &amp;table_share_for_create;</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>