<!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">2011-10-13 17:08:12 +0900 (Thu, 13 Oct 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/d30e66a7612c407b735c748f5081ab8d7c0c7f49">d30e66a7612c407b735c748f5081ab8d7c0c7f49</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">remove needless trailing spaces.</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/d30e66a7612c407b735c748f5081ab8d7c0c7f49#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 (+2 -2)</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/d30e66a7612c407b735c748f5081ab8d7c0c7f49#L0L221">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d30e66a7612c407b735c748f5081ab8d7c0c7f49#L0L222">222</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d30e66a7612c407b735c748f5081ab8d7c0c7f49#L0L223">223</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d30e66a7612c407b735c748f5081ab8d7c0c7f49#L0L224">224</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/d30e66a7612c407b735c748f5081ab8d7c0c7f49#L0L225">225</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/d30e66a7612c407b735c748f5081ab8d7c0c7f49#L0L226">226</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d30e66a7612c407b735c748f5081ab8d7c0c7f49#L0L227">227</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d30e66a7612c407b735c748f5081ab8d7c0c7f49#L0L228">228</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d30e66a7612c407b735c748f5081ab8d7c0c7f49#L0L3441">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d30e66a7612c407b735c748f5081ab8d7c0c7f49#L0L3442">3442</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d30e66a7612c407b735c748f5081ab8d7c0c7f49#L0L3443">3443</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d30e66a7612c407b735c748f5081ab8d7c0c7f49#L0L3444">3444</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/d30e66a7612c407b735c748f5081ab8d7c0c7f49#L0L3445">3445</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/d30e66a7612c407b735c748f5081ab8d7c0c7f49#L0L3446">3446</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d30e66a7612c407b735c748f5081ab8d7c0c7f49#L0L3447">3447</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d30e66a7612c407b735c748f5081ab8d7c0c7f49#L0L3448">3448</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/d30e66a7612c407b735c748f5081ab8d7c0c7f49#L0R221">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d30e66a7612c407b735c748f5081ab8d7c0c7f49#L0R222">222</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d30e66a7612c407b735c748f5081ab8d7c0c7f49#L0R223">223</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d30e66a7612c407b735c748f5081ab8d7c0c7f49#L0R224">224</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/d30e66a7612c407b735c748f5081ab8d7c0c7f49#L0R225">225</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d30e66a7612c407b735c748f5081ab8d7c0c7f49#L0R226">226</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d30e66a7612c407b735c748f5081ab8d7c0c7f49#L0R227">227</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d30e66a7612c407b735c748f5081ab8d7c0c7f49#L0R228">228</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d30e66a7612c407b735c748f5081ab8d7c0c7f49#L0R3441">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d30e66a7612c407b735c748f5081ab8d7c0c7f49#L0R3442">3442</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d30e66a7612c407b735c748f5081ab8d7c0c7f49#L0R3443">3443</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d30e66a7612c407b735c748f5081ab8d7c0c7f49#L0R3444">3444</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/d30e66a7612c407b735c748f5081ab8d7c0c7f49#L0R3445">3445</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d30e66a7612c407b735c748f5081ab8d7c0c7f49#L0R3446">3446</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d30e66a7612c407b735c748f5081ab8d7c0c7f49#L0R3447">3447</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/d30e66a7612c407b735c748f5081ab8d7c0c7f49#L0R3448">3448</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">@@ -222,7 +222,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">static void mrn_log_level_update(THD *thd, struct st_mysql_sys_var *var,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">   mrn_log_level = new_value;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   mrn_logger_info.max_level = (grn_log_level) mrn_log_level;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   grn_ctx *ctx = grn_ctx_open(0);</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-  GRN_LOG(ctx, GRN_LOG_NOTICE, &quot;log level changed from '%s' to '%s'&quot;, </span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  GRN_LOG(ctx, GRN_LOG_NOTICE, &quot;log level changed from '%s' to '%s'&quot;,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">           mrn_log_level_type_names[old_value],</span>
<span class="diff-not-changed" style="display: block; white-space: pre">           mrn_log_level_type_names[new_value]);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   grn_ctx_fin(ctx);</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -3442,7 +3442,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">int ha_mroonga::storage_write_row(uchar *buf)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">   // for UDF last_insert_grn_id()</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   st_mrn_slot_data *slot_data = (st_mrn_slot_data*) *thd_ha_data(thd, mrn_hton_ptr);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   if (slot_data == NULL) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-    slot_data = (st_mrn_slot_data*) malloc(sizeof(st_mrn_slot_data)); </span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    slot_data = (st_mrn_slot_data*) malloc(sizeof(st_mrn_slot_data));</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     *thd_ha_data(thd, mrn_hton_ptr) = (void *) slot_data;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     pthread_mutex_lock(&amp;mrn_allocated_thds_mutex);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     if (my_hash_insert(&amp;mrn_allocated_thds, (uchar*) thd))</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>