<!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">2013-06-11 16:30:46 +0900 (Tue, 11 Jun 2013)</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/01071d646d7b2f7b0921915ebec59a92ac8bec32">01071d646d7b2f7b0921915ebec59a92ac8bec32</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, "Liberation Mono", Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">Use mrn::Lock instead of explicit lock/unlock</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/01071d646d7b2f7b0921915ebec59a92ac8bec32#diff-0">mrn_table.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, "Liberation Mono", 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: mrn_table.cpp (+6 -7)</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; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L29">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L30">30</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L31">31</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L32">32</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/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L33">33</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L34">34</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L35">35</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L769">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L770">770</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L771">771</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L772">772</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/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L773">773</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/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L774">774</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L775">775</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L776">776</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L874">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L875">875</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L876">876</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L877">877</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/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L878">878</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L879">879</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L880">880</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L881">881</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L885">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L886">886</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L887">887</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L888">888</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/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L889">889</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L890">890</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L891">891</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L892">892</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L893">893</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L894">894</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L895">895</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/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L896">896</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/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L897">897</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L898">898</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L899">899</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L903">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L904">904</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L905">905</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L906">906</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/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L907">907</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L908">908</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L909">909</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L910">910</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L1048">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L1049">1049</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L1050">1050</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L1051">1051</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/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L1052">1052</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/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L1053">1053</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L1054">1054</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L1055">1055</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L1056">1056</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L1057">1057</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L1058">1058</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/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L1059">1059</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/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L1060">1060</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L1061">1061</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0L1062">1062</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; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R29">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R30">30</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R31">31</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R32">32</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/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R33">33</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R34">34</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R35">35</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R36">36</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R770">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R771">771</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R772">772</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R773">773</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/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R774">774</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R775">775</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R776">776</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R777">777</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R875">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R876">876</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R877">877</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R878">878</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/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R879">879</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R880">880</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R881">881</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R885">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R886">886</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R887">887</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R888">888</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/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R889">889</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R890">890</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R891">891</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R892">892</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R893">893</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R894">894</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/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R895">895</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R896">896</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R897">897</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R898">898</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R902">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R903">903</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R904">904</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R905">905</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/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R906">906</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R907">907</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R908">908</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R1046">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R1047">1047</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R1048">1048</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R1049">1049</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/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R1050">1050</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/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R1051">1051</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R1052">1052</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R1053">1053</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R1054">1054</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R1055">1055</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R1056">1056</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R1057">1057</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/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R1058">1058</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R1059">1059</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R1060">1060</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/01071d646d7b2f7b0921915ebec59a92ac8bec32#L0R1061">1061</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; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -30,6 +30,7 @@</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #include "mrn_sys.hpp"</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #include "mrn_table.hpp"</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #include "mrn_mysql_compat.h"</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+#include <mrn_lock.hpp></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 MYSQL_VERSION_ID >= 50603 && !defined(MRN_MARIADB_P)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> # define MRN_HA_RESOLVE_BY_NAME(name) ha_resolve_by_name(NULL, (name), TRUE)</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -770,7 +771,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">MRN_SHARE *mrn_get_share(const char *table_name, TABLE *table, int *error)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> TABLE_SHARE *wrap_table_share;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> MRN_DBUG_ENTER_FUNCTION();</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> length = (uint) strlen(table_name);</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- pthread_mutex_lock(&mrn_open_tables_mutex);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ mrn::Lock lock(&mrn_open_tables_mutex);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (!(share = (MRN_SHARE*) my_hash_search(&mrn_open_tables,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> (uchar*) table_name, length)))</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">@@ -875,7 +876,6 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">MRN_SHARE *mrn_get_share(const char *table_name, TABLE *table, int *error)</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"> share->use_count++;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- pthread_mutex_unlock(&mrn_open_tables_mutex);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> DBUG_RETURN(share);</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_hash_insert:</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -886,14 +886,13 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">error_parse_table_param:</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> mrn_free_share_alloc(share);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> my_free(share, MYF(0));</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> error_alloc_share:</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- pthread_mutex_unlock(&mrn_open_tables_mutex);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> DBUG_RETURN(NULL);</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"> int mrn_free_share(MRN_SHARE *share)</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_DBUG_ENTER_FUNCTION();</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- pthread_mutex_lock(&mrn_open_tables_mutex);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ mrn::Lock lock(&mrn_open_tables_mutex);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (!--share->use_count)</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_hash_delete(&mrn_open_tables, (uchar*) share);</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -904,7 +903,6 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">int mrn_free_share(MRN_SHARE *share)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> pthread_mutex_destroy(&share->mutex);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> my_free(share, MYF(0));</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">- pthread_mutex_unlock(&mrn_open_tables_mutex);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> DBUG_RETURN(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"> </span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -1049,14 +1047,15 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">st_mrn_slot_data *mrn_get_slot_data(THD *thd, bool can_create)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> slot_data->alter_connect_string = NULL;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> slot_data->alter_comment = NULL;</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-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- pthread_mutex_lock(&mrn_allocated_thds_mutex);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ {</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ mrn::Lock lock(&mrn_allocated_thds_mutex);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (my_hash_insert(&mrn_allocated_thds, (uchar*) 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"> free(slot_data);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> DBUG_RETURN(NULL);</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">- pthread_mutex_unlock(&mrn_allocated_thds_mutex);</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"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> DBUG_RETURN(slot_data);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>