<!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">susumu.yata &lt;susum****@gmail*****&gt;</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
      <dd style="margin-left: 8.5em">2013-06-07 11:16:47 +0900 (Fri, 07 Jun 2013)</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/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797">01fbb69683e255322edbacb5710c9a4ea5de1797</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, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">Improve error handling.</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/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#diff-0">lib/grnxx/map/hash_table.cpp</a></li>
        </ul>
      </dd>
    </dl>

    <div class="diff-section" style="clear: both">
      <table style="border-collapse: collapse; border: 1px solid #aaa">
        <thead>
          <tr class="diff-header" style="border: 1px solid #aaa">
            <td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, 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: lib/grnxx/map/hash_table.cpp (+11 -6)</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; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0L366">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0L367">367</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0L368">368</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0L369">369</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0L370">370</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0L371">371</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0L372">372</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0L373">373</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0L374">374</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0L375">375</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0L376">376</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0L378">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0L379">379</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0L380">380</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0L381">381</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0L382">382</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-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0L383">383</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-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0L384">384</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0L385">385</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0L386">386</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0L570">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0L571">571</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0L572">572</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0L573">573</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/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0L574">574</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0L575">575</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0L576">576</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0L577">577</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/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0L578">578</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0L579">579</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0L580">580</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; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0R366">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0R367">367</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0R368">368</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0R369">369</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-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0R370">370</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0R371">371</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0R372">372</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0R374">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0R375">375</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0R376">376</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0R377">377</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/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0R378">378</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0R379">379</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0R380">380</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0R381">381</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0R382">382</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0R383">383</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0R384">384</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0R385">385</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0R386">386</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0R387">387</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0R388">388</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0R389">389</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0R390">390</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0R574">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0R575">575</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0R576">576</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0R577">577</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0R578">578</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0R579">579</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0R580">580</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0R581">581</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/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0R582">582</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0R583">583</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0R584">584</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/grnxx/commit/01fbb69683e255322edbacb5710c9a4ea5de1797#L0R585">585</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; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -367,10 +367,6 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">bool HashTable&lt;T&gt;::truncate() {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">     // Nothing to do.</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     return true;</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">-  header_-&gt;max_key_id = MAP_MIN_KEY_ID - 1;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-  header_-&gt;num_keys = 0;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-  header_-&gt;num_key_ids = 0;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-  header_-&gt;latest_link = INVALID_LINK;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   std::unique_ptr&lt;KeyIDArray&gt; new_key_ids(</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       KeyIDArray::create(storage_, storage_node_id_,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                          KeyIDArray::page_size() - 1));</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -379,8 +375,16 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">bool HashTable&lt;T&gt;::truncate() {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">     return false;</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 (header_-&gt;old_key_ids_storage_node_id != STORAGE_INVALID_NODE_ID) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-    storage_-&gt;unlink_node(header_-&gt;old_key_ids_storage_node_id);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    if (!KeyIDArray::unlink(storage_, header_-&gt;old_key_ids_storage_node_id)) {</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      // Error.</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      KeyIDArray::unlink(storage_, new_key_ids-&gt;storage_node_id());</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      return false;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    }</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   }</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  header_-&gt;max_key_id = MAP_MIN_KEY_ID - 1;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  header_-&gt;num_keys = 0;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  header_-&gt;num_key_ids = 0;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  header_-&gt;latest_link = INVALID_LINK;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   header_-&gt;old_key_ids_storage_node_id = header_-&gt;key_ids_storage_node_id;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   header_-&gt;key_ids_storage_node_id = new_key_ids-&gt;storage_node_id();</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   Lock lock(&amp;header_-&gt;mutex);</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -571,10 +575,11 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">bool HashTable&lt;T&gt;::rebuild() {</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">   if (key_id &lt;= max_key_id()) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     // Error.</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    KeyIDArray::unlink(storage_, new_key_ids-&gt;storage_node_id());</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     return false;</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 (header_-&gt;old_key_ids_storage_node_id != STORAGE_INVALID_NODE_ID) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-    storage_-&gt;unlink_node(header_-&gt;old_key_ids_storage_node_id);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    KeyIDArray::unlink(storage_, header_-&gt;old_key_ids_storage_node_id);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   }</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   header_-&gt;old_key_ids_storage_node_id = header_-&gt;key_ids_storage_node_id;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   header_-&gt;key_ids_storage_node_id = new_key_ids-&gt;storage_node_id();</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>