<!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">2015-03-17 21:57:36 +0900 (Tue, 17 Mar 2015)</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/070dac13aaf62ba1f432a6b53f244ecd3ac3764b">070dac13aaf62ba1f432a6b53f244ecd3ac3764b</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">mysql57: support PSI_memory_key for my_strdup()</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/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#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 (+3 -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; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0L515">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0L516">516</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0L517">517</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0L518">518</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/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0L519">519</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/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0L520">520</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0L521">521</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0L522">522</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0L577">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0L578">578</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0L579">579</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0L580">580</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/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0L581">581</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/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0L582">582</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0L583">583</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0L584">584</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0L1041">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0L1042">1042</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0L1043">1043</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0L1044">1044</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/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0L1045">1045</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/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0L1046">1046</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0L1047">1047</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0L1048">1048</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/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0R515">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0R516">516</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0R517">517</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0R518">518</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/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0R519">519</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0R520">520</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0R521">521</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0R522">522</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0R577">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0R578">578</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0R579">579</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0R580">580</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/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0R581">581</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0R582">582</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0R583">583</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0R584">584</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0R1041">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0R1042">1042</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0R1043">1043</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0R1044">1044</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/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0R1045">1045</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0R1046">1046</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#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/070dac13aaf62ba1f432a6b53f244ecd3ac3764b#L0R1048">1048</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">@@ -516,7 +516,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">int mrn_add_index_param(MRN_SHARE *share, KEY *key_info, int i)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> my_free(share->key_parser[i]);</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 (</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- !(share->key_parser[i] = my_strdup(mrn_default_parser, MYF(MY_WME)))</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ !(share->key_parser[i] = mrn_my_strdup(mrn_default_parser, MYF(MY_WME)))</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 = HA_ERR_OUT_OF_MEM;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> goto error;</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -578,7 +578,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">int mrn_add_index_param(MRN_SHARE *share, KEY *key_info, int i)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #endif</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (!share->key_parser[i]) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- !(share->key_parser[i] = my_strdup(mrn_default_parser, MYF(MY_WME)))</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ !(share->key_parser[i] = mrn_my_strdup(mrn_default_parser, MYF(MY_WME)))</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 = HA_ERR_OUT_OF_MEM;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> goto error;</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -1042,7 +1042,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">TABLE_SHARE *mrn_create_tmp_table_share(TABLE_LIST *table_list, const char *path</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> share->tmp_table = INTERNAL_TMP_TABLE; // TODO: is this right?</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> share->path.str = (char *) path;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> share->path.length = strlen(share->path.str);</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- share->normalized_path.str = my_strdup(path, MYF(MY_WME));</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ share->normalized_path.str = mrn_my_strdup(path, MYF(MY_WME));</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> share->normalized_path.length = strlen(share->normalized_path.str);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (open_table_def(thd, share, GTS_TABLE))</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> {</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>