<!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">Kenji Maruyama <mmmar****@gmail*****></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
<dd style="margin-left: 8.5em">2014-02-20 15:15:26 +0900 (Thu, 20 Feb 2014)</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/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403">ef94a3cabe270aa8b94d50f2c29d314fa9f7d403</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">Fix alter table with fulltext index which refer to table causes mysqld crash
refs #2327
[groonga-dev,02130]
Reported by Naoya Murakami. 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/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#diff-0">ha_mroonga.cpp</a></li>
<li><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#diff-1">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: ha_mroonga.cpp (+6 -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; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0L13189">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0L13190">13190</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0L13191">13191</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0L13192">13192</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/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0L13193">13193</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0L13194">13194</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0L13195">13195</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0L13198">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0L13199">13199</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0L13200">13200</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0L13201">13201</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/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0L13202">13202</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0L13203">13203</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0L13204">13204</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0L13208">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0L13209">13209</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0L13210">13210</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0L13211">13211</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/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0L13212">13212</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/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0L13213">13213</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/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0L13214">13214</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0L13215">13215</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0L13216">13216</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/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0R13189">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0R13190">13190</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0R13191">13191</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0R13192">13192</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/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0R13193">13193</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/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0R13194">13194</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0R13195">13195</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0R13196">13196</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0R13197">13197</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0R13200">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0R13201">13201</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0R13202">13202</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0R13203">13203</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/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0R13204">13204</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/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0R13205">13205</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0R13206">13206</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0R13207">13207</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0R13208">13208</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0R13212">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0R13213">13213</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0R13214">13214</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0R13215">13215</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/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0R13216">13216</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/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0R13217">13217</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0R13218">13218</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0R13219">13219</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L0R13220">13220</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">@@ -13190,6 +13190,8 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">bool ha_mroonga::storage_inplace_alter_table(</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> TABLE_SHARE tmp_table_share;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> char **key_parser;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> uint *key_parser_length;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ char **index_table;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ uint *index_table_length;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> KEY *p_key_info = &table->key_info[table_share->primary_key];</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> bool have_multiple_column_index = false;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> memset(index_tables, 0, sizeof(grn_obj *) * ha_alter_info->key_count);</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -13199,6 +13201,8 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">bool ha_mroonga::storage_inplace_alter_table(</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (!(tmp_share = (MRN_SHARE *)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> my_multi_malloc(MYF(MY_WME | MY_ZEROFILL),</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> &tmp_share, sizeof(*tmp_share),</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ &index_table, sizeof(char *) *(tmp_table_share.keys),</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ &index_table_length, sizeof(uint) *(tmp_table_share.keys),</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> &key_parser, sizeof(char *) * (tmp_table_share.keys),</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> &key_parser_length, sizeof(uint) * (tmp_table_share.keys),</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> NullS))</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -13209,8 +13213,8 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">bool ha_mroonga::storage_inplace_alter_table(</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> tmp_share->engine = NULL;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> tmp_share->table_share = &tmp_table_share;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- tmp_share->index_table = NULL;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- tmp_share->index_table_length = NULL;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ tmp_share->index_table = index_table;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ tmp_share->index_table_length = index_table_length;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> tmp_share->key_parser = key_parser;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> tmp_share->key_parser_length = key_parser_length;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> bitmap_clear_all(table->read_set);</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; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: mrn_table.cpp (+1 -1)</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/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L1L277">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L1L278">278</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L1L279">279</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L1L280">280</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/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L1L281">281</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/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L1L282">282</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L1L283">283</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L1L284">284</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/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L1R277">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L1R278">278</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L1R279">279</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L1R280">280</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/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L1R281">281</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L1R282">282</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L1R283">283</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/ef94a3cabe270aa8b94d50f2c29d314fa9f7d403#L1R284">284</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">@@ -278,7 +278,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 (!strncasecmp(tmp_ptr, title_name, title_length)) \</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 "title_name" start")); \</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- if (!share->param_name[param_pos]) \</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ if (share->param_name && !share->param_name[param_pos]) \</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 ((share->param_name[param_pos] = mrn_get_string_between_quote( \</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> start_ptr))) \</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>