<!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-11-19 23:51:38 +0900 (Mon, 19 Nov 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/4df4a7562b616b3f57c1accb62ca0357259bff74">4df4a7562b616b3f57c1accb62ca0357259bff74</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">Store timestamp value as UTC

CAUTION: This is backward incompatible change. If you are using
timestamp column with no UTC timezone, you need to recreate your
database.</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/4df4a7562b616b3f57c1accb62ca0357259bff74#diff-0">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, &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.cpp (+9 -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/4df4a7562b616b3f57c1accb62ca0357259bff74#L0L8590">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0L8591">8591</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0L8592">8592</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0L8593">8593</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/4df4a7562b616b3f57c1accb62ca0357259bff74#L0L8594">8594</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-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0L8595">8595</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0L8596">8596</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0L8597">8597</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0L8598">8598</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/4df4a7562b616b3f57c1accb62ca0357259bff74#L0L8599">8599</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-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0L8600">8600</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0L8601">8601</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0L8602">8602</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/4df4a7562b616b3f57c1accb62ca0357259bff74#L0L8603">8603</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-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0L8604">8604</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0L8605">8605</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0L8606">8606</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0L8961">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0L8962">8962</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0L8963">8963</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0L8964">8964</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/4df4a7562b616b3f57c1accb62ca0357259bff74#L0L8965">8965</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0L8966">8966</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0L8967">8967</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0L8968">8968</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/4df4a7562b616b3f57c1accb62ca0357259bff74#L0L8969">8969</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0L8970">8970</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0L8971">8971</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0L8972">8972</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/4df4a7562b616b3f57c1accb62ca0357259bff74#L0L8973">8973</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0L8974">8974</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0L8975">8975</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/4df4a7562b616b3f57c1accb62ca0357259bff74#L0R8590">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0R8591">8591</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0R8592">8592</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0R8593">8593</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/4df4a7562b616b3f57c1accb62ca0357259bff74#L0R8594">8594</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/4df4a7562b616b3f57c1accb62ca0357259bff74#L0R8595">8595</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0R8596">8596</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0R8597">8597</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0R8598">8598</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0R8599">8599</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/4df4a7562b616b3f57c1accb62ca0357259bff74#L0R8600">8600</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/4df4a7562b616b3f57c1accb62ca0357259bff74#L0R8601">8601</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0R8602">8602</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0R8603">8603</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0R8604">8604</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/4df4a7562b616b3f57c1accb62ca0357259bff74#L0R8605">8605</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/4df4a7562b616b3f57c1accb62ca0357259bff74#L0R8606">8606</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0R8607">8607</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0R8608">8608</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0R8609">8609</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0R8964">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0R8965">8965</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0R8966">8966</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0R8967">8967</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/4df4a7562b616b3f57c1accb62ca0357259bff74#L0R8968">8968</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0R8969">8969</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0R8970">8970</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0R8971">8971</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0R8972">8972</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/4df4a7562b616b3f57c1accb62ca0357259bff74#L0R8973">8973</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0R8974">8974</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0R8975">8975</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0R8976">8976</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0R8977">8977</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/4df4a7562b616b3f57c1accb62ca0357259bff74#L0R8978">8978</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0R8979">8979</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0R8980">8980</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4df4a7562b616b3f57c1accb62ca0357259bff74#L0R8981">8981</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">@@ -8591,16 +8591,19 @@ <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">   if (field-&gt;get_timestamp(&amp;time_value, &amp;warnings)) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     // XXX: Should we report warnings or MySQL does?</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">-    grn_time = GRN_TIME_PACK(time_value.tv_sec, time_value.tv_usec);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    grn_time = GRN_TIME_PACK(time_value.tv_sec + mrn_utc_diff_in_seconds,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+                             time_value.tv_usec);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   }</span>
<span class="diff-not-changed" style="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-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-  grn_time = GRN_TIME_PACK(seconds, micro_seconds);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  grn_time = GRN_TIME_PACK(seconds + mrn_utc_diff_in_seconds,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+                           micro_seconds);</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">   my_bool is_null_value;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   long seconds = field-&gt;get_timestamp(&amp;is_null_value);</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-  grn_time = GRN_TIME_PACK(seconds, 0);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  grn_time = GRN_TIME_PACK(seconds + mrn_utc_diff_in_seconds,</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+                           0);</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">   DBUG_RETURN(grn_time);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -8962,14 +8965,17 @@ <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"> #ifdef MRN_TIMESTAMP_USE_TIMEVAL</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">   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">+  time_value.tv_sec -= mrn_utc_diff_in_seconds;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   timestamp_field-&gt;store_timestamp(&amp;time_value);</span>
<span class="diff-not-changed" style="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">   int32 sec, usec;</span>
<span class="diff-not-changed" style="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">+  time_value.tv_sec -= mrn_utc_diff_in_seconds;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   timestamp_field-&gt;store_TIME(sec, usec);</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">   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-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  time_value.tv_sec -= mrn_utc_diff_in_seconds;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   timestamp_field-&gt;store_timestamp(sec);</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>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>