<!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 &lt;kou****@clear*****&gt;</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
      <dd style="margin-left: 8.5em">2012-01-31 17:55:35 +0900 (Tue, 31 Jan 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/429a7c952a4b9a1f589eb24e58ad0e5159f803c4">429a7c952a4b9a1f589eb24e58ad0e5159f803c4</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, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; padding: 0.5em">[mysql56][mariadb] support store_timestamp(). refs #1266</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/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#diff-0">ha_mroonga.cc</a></li>
          <li><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#diff-1">ha_mroonga.h</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, &quot;Liberation Mono&quot;, 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 (+13 -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, &quot;Liberation Mono&quot;, 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/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0L6929">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0L6930">6930</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0L6931">6931</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0L6932">6932</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/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0L6933">6933</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0L6934">6934</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0L6935">6935</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0L6936">6936</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0L6937">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0L6938">6938</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0L6939">6939</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0L6940">6940</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/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0L6941">6941</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0L6942">6942</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0L6943">6943</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0L6944">6944</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0L7249">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0L7250">7250</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0L7251">7251</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0L7252">7252</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0L7253">7253</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0L7254">7254</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/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0L7255">7255</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0L7256">7256</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0L7257">7257</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0L7258">7258</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0L7259">7259</a></span>
</pre>
            </th>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, 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/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0R6929">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0R6930">6930</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0R6931">6931</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0R6932">6932</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</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/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0R6933">6933</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0R6934">6934</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0R6935">6935</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0R6936">6936</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0R6937">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0R6938">6938</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0R6939">6939</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0R6940">6940</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</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/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0R6941">6941</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0R6942">6942</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0R6943">6943</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0R6944">6944</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0R7249">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0R7250">7250</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0R7251">7251</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0R7252">7252</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/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0R7253">7253</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/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0R7254">7254</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/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0R7255">7255</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/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0R7256">7256</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/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0R7257">7257</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/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0R7258">7258</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/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0R7259">7259</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/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0R7260">7260</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/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0R7261">7261</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/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0R7262">7262</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0R7263">7263</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0R7264">7264</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0R7265">7265</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/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0R7266">7266</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0R7267">7267</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0R7268">7268</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L0R7269">7269</a></span>
</pre>
            </th>
            <td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, 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">@@ -6930,7 +6930,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">long long int ha_mroonga::get_grn_time_from_timestamp_field(Field_timestamp *fie</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">   MRN_DBUG_ENTER_METHOD();</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   long long int grn_time = 0;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-#ifdef MRN_FIELD_TIMESTAMP_GET_TIMESTAMP_USE_TIMEVAL</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+#ifdef MRN_TIMESTAMP_USE_TIMEVAL</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   int warnings = 0;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   struct timeval time_value;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   if (field-&gt;get_timestamp(&amp;time_value, &amp;warnings)) {</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -6938,7 +6938,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">long long int ha_mroonga::get_grn_time_from_timestamp_field(Field_timestamp *fie</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">   } else {</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     grn_time = GRN_TIME_PACK(time_value.tv_sec, time_value.tv_usec);</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">-#elif defined(MRN_FIELD_TIMESTAMP_GET_TIMESTAMP_USE_MY_TIME_T)</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+#elif defined(MRN_TIMESTAMP_USE_MY_TIME_T)</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   unsigned long int micro_seconds;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   my_time_t seconds = field-&gt;get_timestamp(&amp;micro_seconds);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   grn_time = GRN_TIME_PACK(seconds, micro_seconds);</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -7250,10 +7250,20 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">void ha_mroonga::storage_store_field_timestamp(Field *field,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">                                                uint value_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">   long long int time = *((long long int *)value);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  Field_timestamp *timestamp_field = (Field_timestamp *)field;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+#ifdef MRN_TIMESTAMP_USE_TIMEVAL</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  struct timeval time_value;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  GRN_TIME_UNPACK(time, time_value.tv_sec, time_value.tv_usec);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  timestamp_field-&gt;store_timestamp(&amp;time_value);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+#elif defined(MRN_TIMESTAMP_USE_MY_TIME_T)</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  int32 sec, usec;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  GRN_TIME_UNPACK(time, sec, usec);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  timestamp_field-&gt;store_TIME(sec, usec);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+#else</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   int32 sec, usec __attribute__((unused));</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   GRN_TIME_UNPACK(time, sec, usec);</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-  Field_timestamp *timestamp_field = (Field_timestamp *)field;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   timestamp_field-&gt;store_timestamp(sec);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; 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"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> void ha_mroonga::storage_store_field_date(Field *field,</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, &quot;Liberation Mono&quot;, 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.h (+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, &quot;Liberation Mono&quot;, 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/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L1L106">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L1L107">107</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L1L108">108</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L1L109">109</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/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L1L110">110</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L1L111">111</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/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L1L112">112</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L1L113">113</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/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L1L114">114</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L1L115">115</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L1L116">116</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L1L117">117</a></span>
</pre>
            </th>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, 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/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L1R106">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L1R107">107</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L1R108">108</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L1R109">109</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</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/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L1R110">110</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L1R111">111</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</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/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L1R112">112</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L1R113">113</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</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/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L1R114">114</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L1R115">115</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L1R116">116</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/429a7c952a4b9a1f589eb24e58ad0e5159f803c4#L1R117">117</a></span>
</pre>
            </th>
            <td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, 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">@@ -107,11 +107,11 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">extern &quot;C&quot; {</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"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #if MYSQL_VERSION_ID &gt;= 50604</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-#  define MRN_FIELD_TIMESTAMP_GET_TIMESTAMP_USE_TIMEVAL</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+#  define MRN_TIMESTAMP_USE_TIMEVAL</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #elif defined(MRN_MARIADB_P)</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-#  define MRN_FIELD_TIMESTAMP_GET_TIMESTAMP_USE_MY_TIME_T</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+#  define MRN_TIMESTAMP_USE_MY_TIME_T</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #else</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-#  define MRN_FIELD_TIMESTAMP_GET_TIMESTAMP_USE_LONG</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+#  define MRN_TIMESTAMP_USE_LONG</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"> class ha_mroonga;</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>