<!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">2012-03-07 19:33:44 +0900 (Wed, 07 Mar 2012)</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/a5393e7d7541eaab984351ed438c52af567c8710">a5393e7d7541eaab984351ed438c52af567c8710</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">mariadb: fix crash
refs #1304
Reported by Kazuhiko Shiozaki. Thanks!!!</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/a5393e7d7541eaab984351ed438c52af567c8710#diff-0">ha_mroonga.cc</a></li>
<li><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#diff-1">mrn_table.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 (+4 -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, "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/a5393e7d7541eaab984351ed438c52af567c8710#L0L2052">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L0L2053">2053</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L0L2054">2054</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L0L2055">2055</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/a5393e7d7541eaab984351ed438c52af567c8710#L0L2056">2056</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/a5393e7d7541eaab984351ed438c52af567c8710#L0L2057">2057</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-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L0L2058">2058</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L0L2059">2059</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L0L2060">2060</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/a5393e7d7541eaab984351ed438c52af567c8710#L0R2052">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L0R2053">2053</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L0R2054">2054</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L0R2055">2055</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-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L0R2056">2056</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/a5393e7d7541eaab984351ed438c52af567c8710#L0R2057">2057</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/a5393e7d7541eaab984351ed438c52af567c8710#L0R2058">2058</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/a5393e7d7541eaab984351ed438c52af567c8710#L0R2059">2059</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L0R2060">2060</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L0R2061">2061</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L0R2062">2062</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">@@ -2053,8 +2053,10 @@ <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"> memset(&table_share_for_create, 0, sizeof(TABLE_SHARE));</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> init_alloc_root(&mem_root_for_create, 1024, 0);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> analyzed_for_create = TRUE;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- share_for_create.table_name = table_list->table_name;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- share_for_create.table_name_length = table_list->table_name_length;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ if (table_list) {</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ share_for_create.table_name = table_list->table_name;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ share_for_create.table_name_length = table_list->table_name_length;</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"> share_for_create.table_share = &table_share_for_create;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> table_share_for_create.comment = create_info->comment;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> table_share_for_create.connect_string = create_info->connect_string;</span>
</pre>
</td>
</tr>
</tbody>
</table>
<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: mrn_table.cc (+5 -3)</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/a5393e7d7541eaab984351ed438c52af567c8710#L1L176">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1L177">177</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1L178">178</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1L179">179</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/a5393e7d7541eaab984351ed438c52af567c8710#L1L180">180</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/a5393e7d7541eaab984351ed438c52af567c8710#L1L181">181</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1L182">182</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1L183">183</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1L192">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1L193">193</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1L194">194</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1L195">195</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/a5393e7d7541eaab984351ed438c52af567c8710#L1L196">196</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/a5393e7d7541eaab984351ed438c52af567c8710#L1L197">197</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1L198">198</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1L199">199</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/a5393e7d7541eaab984351ed438c52af567c8710#L1L200">200</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1L201">201</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1L202">202</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1L209">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1L210">210</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1L211">211</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1L212">212</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/a5393e7d7541eaab984351ed438c52af567c8710#L1L213">213</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/a5393e7d7541eaab984351ed438c52af567c8710#L1L214">214</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1L215">215</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1L216">216</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/a5393e7d7541eaab984351ed438c52af567c8710#L1L217">217</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1L218">218</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1L219">219</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/a5393e7d7541eaab984351ed438c52af567c8710#L1R176">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1R177">177</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1R178">178</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1R179">179</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/a5393e7d7541eaab984351ed438c52af567c8710#L1R180">180</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1R181">181</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1R182">182</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1R183">183</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1R192">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1R193">193</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1R194">194</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1R195">195</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/a5393e7d7541eaab984351ed438c52af567c8710#L1R196">196</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1R197">197</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1R198">198</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1R199">199</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/a5393e7d7541eaab984351ed438c52af567c8710#L1R200">200</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1R201">201</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1R202">202</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1R203">203</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1R210">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1R211">211</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1R212">212</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1R213">213</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/a5393e7d7541eaab984351ed438c52af567c8710#L1R214">214</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1R215">215</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1R216">216</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1R217">217</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/a5393e7d7541eaab984351ed438c52af567c8710#L1R218">218</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1R219">219</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1R220">220</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/a5393e7d7541eaab984351ed438c52af567c8710#L1R221">221</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">@@ -177,7 +177,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">void mrn_get_partition_info(const char *table_name, uint table_name_length,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (!part_info)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> DBUG_VOID_RETURN;</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 (!memcmp(table_name + table_name_length - 5, "#TMP#", 5))</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ if (table_name && !memcmp(table_name + table_name_length - 5, "#TMP#", 5))</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> tmp_flg = TRUE;</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_PRINT("info", ("mroonga table_name=%s", table_name));</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -193,10 +193,11 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">void mrn_get_partition_info(const char *table_name, uint table_name_length,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> (*part_elem)->partition_name, (*sub_elem)->partition_name,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> NORMAL_PART_NAME);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> DBUG_PRINT("info", ("mroonga tmp_name=%s", tmp_name));</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- if (!memcmp(table_name, tmp_name, table_name_length + 1))</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ if (table_name && !memcmp(table_name, tmp_name, table_name_length + 1))</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> DBUG_VOID_RETURN;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> tmp_flg &&</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ table_name &&</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> *(tmp_name + table_name_length - 5) == '\0' &&</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> !memcmp(table_name, tmp_name, table_name_length - 5)</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">@@ -210,10 +211,11 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">void mrn_get_partition_info(const char *table_name, uint table_name_length,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> create_partition_name(tmp_name, table->s->path.str,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> (*part_elem)->partition_name, NORMAL_PART_NAME, TRUE);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> DBUG_PRINT("info", ("mroonga tmp_name=%s", tmp_name));</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- if (!memcmp(table_name, tmp_name, table_name_length + 1))</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ if (table_name && !memcmp(table_name, tmp_name, table_name_length + 1))</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> DBUG_VOID_RETURN;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> tmp_flg &&</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ table_name &&</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> *(tmp_name + table_name_length - 5) == '\0' &&</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> !memcmp(table_name, tmp_name, table_name_length - 5)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> ) {</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>