<!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">2018-04-29 15:52:51 +0900 (Sun, 29 Apr 2018)</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/72414262ed98ef2a031364cee73cbcb06419d677">72414262ed98ef2a031364cee73cbcb06419d677</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">mysql8.0: follow table_def_cache type change
TODO: We need more works for Windows.</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/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2">ha_mroonga.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 (+17 -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/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2L227">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2L228">228</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2L229">229</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2L230">230</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2L231">231</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-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-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-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/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2L232">232</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2L233">233</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2L234">234</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2L2049">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2L2050">2050</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2L2051">2051</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2L2052">2052</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-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2L2053">2053</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2L2054">2054</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/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2L2055">2055</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2L2056">2056</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2L2057">2057</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/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2R227">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2R228">228</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2R229">229</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2R230">230</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2R231">231</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2R232">232</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2R233">233</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2R234">234</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2R235">235</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2R236">236</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2R237">237</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2R238">238</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2R239">239</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2R240">240</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2R241">241</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2R242">242</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2R243">243</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2R244">244</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2R245">245</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2R246">246</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2R2061">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2R2062">2062</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2R2063">2063</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2R2064">2064</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2R2065">2065</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2R2066">2066</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2R2067">2067</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2R2068">2068</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2R2069">2069</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2R2070">2070</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2R2071">2071</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2R2072">2072</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/72414262ed98ef2a031364cee73cbcb06419d677#diff-ba714ec217aa6836e39b3aea9da57ae2R2073">2073</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">@@ -228,7 +228,19 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">static mysql_mutex_t *mrn_LOCK_open;</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> Rpl_filter *mrn_binlog_filter;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> Time_zone *mrn_my_tz_UTC;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #ifdef MRN_HAVE_TABLE_DEF_CACHE</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-HASH *mrn_table_def_cache;</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+# if MYSQL_VERSION_ID >= 80011 && !defined(MRN_MARIADB_P)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+# define MRN_TABLE_DEF_CACHE_TYPE_IS_MAP</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+# endif</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+# ifdef MRN_TABLE_DEF_CACHE_TYPE_IS_MAP</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+typedef</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ malloc_unordered_map<std::string,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ std::unique_ptr<TABLE_SHARE, Table_share_deleter>></span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ mrn_table_def_cache_type;</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+# else</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+typedef HASH mrn_table_def_cache_type;</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+#endif</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+mrn_table_def_cache_type *mrn_table_def_cache;</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"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #ifdef MRN_HAVE_PSI_MEMORY_KEY</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -2050,8 +2062,12 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">static int mrn_init(void *p)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> mrn_my_tz_UTC =</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> *((Time_zone **)GetProcAddress(current_module, MRN_MY_TZ_UTC_PROC));</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> # ifdef MRN_HAVE_TABLE_DEF_CACHE</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+# ifdef MRN_TABLE_DEF_CACHE_TYPE_IS_MAP</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+# error must confirm mangled name of mrn_table_def_cache</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+# else</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> mrn_table_def_cache = (HASH *)GetProcAddress(current_module,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> "?table_def_cache@@3Ust_hash@@A");</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+# endif</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"> # ifndef MRN_HAVE_TDC_LOCK_TABLE_SHARE</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> mrn_LOCK_open =</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>