<!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">Tetsuro IKEDA <ikdtt****@gmail*****></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
<dd style="margin-left: 8.5em">2011-01-13 12:56:37 +0900 (Thu, 13 Jan 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/5bdf5e7ed05d595d2099895ab391465dd2da1130">5bdf5e7ed05d595d2099895ab391465dd2da1130</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">replace hash_XXX call for my_hash_XXX because of MySQL 5.5.</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/5bdf5e7ed05d595d2099895ab391465dd2da1130#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 -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"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0L380">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0L381">381</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0L382">382</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0L383">383</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/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0L384">384</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/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0L385">385</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/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0L386">386</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/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0L387">387</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/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0L388">388</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0L389">389</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0L390">390</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0L413">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0L414">414</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0L415">415</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0L416">416</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/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0L417">417</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/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0L418">418</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0L419">419</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0L420">420</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0L421">421</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/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0L422">422</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/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0L423">423</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0L424">424</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0L425">425</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0L426">426</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/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0L427">427</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/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0L428">428</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0L429">429</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0L430">430</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0L472">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0L473">473</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0L474">474</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0L475">475</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/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0L476">476</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/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0L477">477</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0L478">478</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0L479">479</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/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0R380">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0R381">381</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0R382">382</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0R383">383</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-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0R384">384</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/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0R385">385</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0R386">386</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0R387">387</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0R388">388</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0R411">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0R412">412</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0R413">413</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0R414">414</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/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0R415">415</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0R416">416</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0R417">417</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0R418">418</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0R419">419</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/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0R420">420</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0R421">421</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0R422">422</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0R423">423</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0R424">424</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/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0R425">425</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0R426">426</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0R427">427</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0R428">428</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0R470">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0R471">471</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0R472">472</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0R473">473</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/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0R474">474</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0R475">475</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0R476">476</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5bdf5e7ed05d595d2099895ab391465dd2da1130#L0R477">477</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">@@ -381,10 +381,8 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">int mrn_init(void *p)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if ((pthread_mutex_init(&mrn_allocated_thds_mutex, NULL) != 0)) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> goto err_allocated_thds_mutex_init;</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">- if(</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- hash_init(&mrn_allocated_thds, system_charset_info, 32, 0, 0,</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- (hash_get_key) mrn_allocated_thds_get_key, 0, 0)</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- ) {</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ if (my_hash_init(&mrn_allocated_thds, system_charset_info, 32, 0, 0,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ (my_hash_get_key) mrn_allocated_thds_get_key, 0, 0)) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> goto error_allocated_thds_hash_init;</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-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -414,17 +412,17 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">int mrn_deinit(void *p)</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"> if (thd && thd_sql_command(thd) == SQLCOM_UNINSTALL_PLUGIN) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> pthread_mutex_lock(&mrn_allocated_thds_mutex);</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- while ((tmp_thd = (THD *) hash_element(&mrn_allocated_thds, 0)))</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ while ((tmp_thd = (THD *) my_hash_element(&mrn_allocated_thds, 0)))</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> void *slot_ptr = *thd_ha_data(tmp_thd, mrn_hton_ptr);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (slot_ptr) free(slot_ptr);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> *thd_ha_data(tmp_thd, mrn_hton_ptr) = (void *) NULL;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- hash_delete(&mrn_allocated_thds, (uchar *) tmp_thd);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ my_hash_delete(&mrn_allocated_thds, (uchar *) tmp_thd);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> pthread_mutex_unlock(&mrn_allocated_thds_mutex);</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">- hash_free(&mrn_allocated_thds);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ my_hash_free(&mrn_allocated_thds);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> pthread_mutex_destroy(&mrn_allocated_thds_mutex);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> pthread_mutex_destroy(&mrn_log_mutex);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> pthread_mutex_destroy(&db_mutex);</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -473,7 +471,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">int mrn_close_connection(handlerton *hton, THD *thd)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> free(p);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> *thd_ha_data(thd, mrn_hton_ptr) = (void *) NULL;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> pthread_mutex_lock(&mrn_allocated_thds_mutex);</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- hash_delete(&mrn_allocated_thds, (uchar*) thd);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ my_hash_delete(&mrn_allocated_thds, (uchar*) thd);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> pthread_mutex_unlock(&mrn_allocated_thds_mutex);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return 0;</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>