<!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">2017-02-02 17:16:41 +0900 (Thu, 02 Feb 2017)</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/5b496ba02d8d003e875c7d833e5d3975dfdb08fc">5b496ba02d8d003e875c7d833e5d3975dfdb08fc</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">storage: work primary key update check for multiple column primary key again</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/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#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 (+18 -12)</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/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2L6467">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2L6468">6468</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2L6469">6469</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2L6470">6470</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/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2L6471">6471</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/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2L6472">6472</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2L6473">6473</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2L6474">6474</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2L6479">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2L6480">6480</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2L6481">6481</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2L6482">6482</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/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2L6483">6483</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/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2L6484">6484</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/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2L6485">6485</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/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2L6486">6486</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/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2L6487">6487</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/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2L6488">6488</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/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2L6489">6489</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/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2L6490">6490</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/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2L6491">6491</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/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2L6492">6492</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/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2L6493">6493</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-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/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2L6494">6494</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2L6495">6495</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2L6496">6496</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/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2R6467">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2R6468">6468</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2R6469">6469</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2R6470">6470</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/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2R6471">6471</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2R6472">6472</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2R6473">6473</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2R6474">6474</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2R6479">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2R6480">6480</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2R6481">6481</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2R6482">6482</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-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2R6483">6483</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/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2R6484">6484</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/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2R6485">6485</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/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2R6486">6486</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/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2R6487">6487</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/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2R6488">6488</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/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2R6489">6489</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/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2R6490">6490</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/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2R6491">6491</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/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2R6492">6492</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/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2R6493">6493</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/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2R6494">6494</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/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2R6495">6495</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/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2R6496">6496</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/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2R6497">6497</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/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2R6498">6498</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/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2R6499">6499</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2R6500">6500</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2R6501">6501</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/5b496ba02d8d003e875c7d833e5d3975dfdb08fc#diff-ba714ec217aa6836e39b3aea9da57ae2R6502">6502</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">@@ -6468,7 +6468,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">int ha_mroonga::storage_update_row(const uchar *old_data, uchar *new_data)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> bool is_pkey = false;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> bool on_duplicate_key_update =</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> (inserting_with_update && ignoring_duplicated_key);</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- if (pkey_info && on_duplicate_key_update) {</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ if (pkey_info && <span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">!</span>on_duplicate_key_update) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> for (j = 0; j < KEY_N_KEY_PARTS(pkey_info); j++) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> Field *pkey_field = pkey_info->key_part[j].field;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (strcmp(pkey_field->field_name, column_name.c_str()) == 0) {</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -6480,17 +6480,23 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">int ha_mroonga::storage_update_row(const uchar *old_data, uchar *new_data)</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"> generic_store_bulk(field, &colbuf);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (is_pkey) {</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- char key[GRN_TABLE_MAX_KEY_SIZE];</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- int key_size;</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- key_size = grn_table_get_key(ctx,</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- grn_table,</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- record_id,</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- &key,</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- GRN_TABLE_MAX_KEY_SIZE);</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- bool is_same_value =</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- (GRN_BULK_VSIZE(&colbuf) == key_size &&</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- memcmp(key, GRN_BULK_HEAD(&colbuf), key_size) == 0);</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">- if (!is_same_value && replacing_) {</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ bool is_multiple_column_index = KEY_N_KEY_PARTS(pkey_info) > 1;</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ bool is_same_value;</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ if (is_multiple_column_index) {</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ is_same_value = false;</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">+ char key[GRN_TABLE_MAX_KEY_SIZE];</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ int key_size;</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ key_size = grn_table_get_key(ctx,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ grn_table,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ record_id,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ &key,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ GRN_TABLE_MAX_KEY_SIZE);</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ is_same_value =</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ (GRN_BULK_VSIZE(&colbuf) == key_size &&</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ memcmp(key, GRN_BULK_HEAD(&colbuf), key_size) == 0);</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">+ if (!is_same_value && !replacing_) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> char message[MRN_BUFFER_SIZE];</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> snprintf(message, MRN_BUFFER_SIZE,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> "data truncated for primary key column: <%s>",</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>