<!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">Kentoku &lt;kento****@gmail*****&gt;</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
      <dd style="margin-left: 8.5em">2011-07-11 13:17:08 +0900 (Mon, 11 Jul 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/57d608f60110c960aa7b8a396c6b189a1249934b">57d608f60110c960aa7b8a396c6b189a1249934b</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, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; padding: 0.5em">fixed create table's problem</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/57d608f60110c960aa7b8a396c6b189a1249934b#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, &quot;Liberation Mono&quot;, 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 (+3 -0)</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"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/57d608f60110c960aa7b8a396c6b189a1249934b#L0L1093">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/57d608f60110c960aa7b8a396c6b189a1249934b#L0L1094">1094</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/57d608f60110c960aa7b8a396c6b189a1249934b#L0L1095">1095</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/57d608f60110c960aa7b8a396c6b189a1249934b#L0L1096">1096</a></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/57d608f60110c960aa7b8a396c6b189a1249934b#L0L1097">1097</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/57d608f60110c960aa7b8a396c6b189a1249934b#L0L1098">1098</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/57d608f60110c960aa7b8a396c6b189a1249934b#L0L1099">1099</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/57d608f60110c960aa7b8a396c6b189a1249934b#L0L1101">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/57d608f60110c960aa7b8a396c6b189a1249934b#L0L1102">1102</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/57d608f60110c960aa7b8a396c6b189a1249934b#L0L1103">1103</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/57d608f60110c960aa7b8a396c6b189a1249934b#L0L1104">1104</a></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/57d608f60110c960aa7b8a396c6b189a1249934b#L0L1105">1105</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/57d608f60110c960aa7b8a396c6b189a1249934b#L0L1106">1106</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/57d608f60110c960aa7b8a396c6b189a1249934b#L0L1107">1107</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/57d608f60110c960aa7b8a396c6b189a1249934b#L0L1112">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/57d608f60110c960aa7b8a396c6b189a1249934b#L0L1113">1113</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/57d608f60110c960aa7b8a396c6b189a1249934b#L0L1114">1114</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/57d608f60110c960aa7b8a396c6b189a1249934b#L0L1115">1115</a></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/57d608f60110c960aa7b8a396c6b189a1249934b#L0L1116">1116</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/57d608f60110c960aa7b8a396c6b189a1249934b#L0L1117">1117</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/57d608f60110c960aa7b8a396c6b189a1249934b#L0L1118">1118</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"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/57d608f60110c960aa7b8a396c6b189a1249934b#L0R1093">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/57d608f60110c960aa7b8a396c6b189a1249934b#L0R1094">1094</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/57d608f60110c960aa7b8a396c6b189a1249934b#L0R1095">1095</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/57d608f60110c960aa7b8a396c6b189a1249934b#L0R1096">1096</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/57d608f60110c960aa7b8a396c6b189a1249934b#L0R1097">1097</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/57d608f60110c960aa7b8a396c6b189a1249934b#L0R1098">1098</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/57d608f60110c960aa7b8a396c6b189a1249934b#L0R1099">1099</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/57d608f60110c960aa7b8a396c6b189a1249934b#L0R1100">1100</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/57d608f60110c960aa7b8a396c6b189a1249934b#L0R1102">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/57d608f60110c960aa7b8a396c6b189a1249934b#L0R1103">1103</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/57d608f60110c960aa7b8a396c6b189a1249934b#L0R1104">1104</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/57d608f60110c960aa7b8a396c6b189a1249934b#L0R1105">1105</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/57d608f60110c960aa7b8a396c6b189a1249934b#L0R1106">1106</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/57d608f60110c960aa7b8a396c6b189a1249934b#L0R1107">1107</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/57d608f60110c960aa7b8a396c6b189a1249934b#L0R1108">1108</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/57d608f60110c960aa7b8a396c6b189a1249934b#L0R1109">1109</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/57d608f60110c960aa7b8a396c6b189a1249934b#L0R1114">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/57d608f60110c960aa7b8a396c6b189a1249934b#L0R1115">1115</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/57d608f60110c960aa7b8a396c6b189a1249934b#L0R1116">1116</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/57d608f60110c960aa7b8a396c6b189a1249934b#L0R1117">1117</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/57d608f60110c960aa7b8a396c6b189a1249934b#L0R1118">1118</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/57d608f60110c960aa7b8a396c6b189a1249934b#L0R1119">1119</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/57d608f60110c960aa7b8a396c6b189a1249934b#L0R1120">1120</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/57d608f60110c960aa7b8a396c6b189a1249934b#L0R1121">1121</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"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -1094,6 +1094,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">int ha_mroonga::wrapper_create(const char *name, TABLE *table,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">     DBUG_RETURN(error);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   base_key_info = table-&gt;key_info;</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">+  share = tmp_share;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   MRN_SET_WRAP_SHARE_KEY(tmp_share, table-&gt;s);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   MRN_SET_WRAP_TABLE_KEY(this, table);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   if (!(hnd =</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -1102,6 +1103,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">int ha_mroonga::wrapper_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">     MRN_SET_BASE_SHARE_KEY(tmp_share, table-&gt;s);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     MRN_SET_BASE_TABLE_KEY(this, table);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    share = NULL;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     if (wrap_key_info)</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     {</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       my_free(wrap_key_info, MYF(0));</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -1113,6 +1115,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">int ha_mroonga::wrapper_create(const char *name, TABLE *table,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">   error = hnd-&gt;ha_create(name, table, info);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   MRN_SET_BASE_SHARE_KEY(tmp_share, table-&gt;s);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   MRN_SET_BASE_TABLE_KEY(this, table);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  share = NULL;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   delete hnd;</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 (wrap_key_info)</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>