<!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">2017-10-30 14:54:56 +0900 (Mon, 30 Oct 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/ranguba/groonga-client/commit/0cf6e4916133d8228698a70a5376506da6927408">0cf6e4916133d8228698a70a5376506da6927408</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">index-check: ensure removing temporary created index</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/ranguba/groonga-client/commit/0cf6e4916133d8228698a70a5376506da6927408#diff-90210dd24c42dd62359c3f0e1bdcb826">lib/groonga/client/command-line/groonga-client-index-check.rb</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/groonga/client/command-line/groonga-client-index-check.rb (+7 -4)</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/ranguba/groonga-client/commit/0cf6e4916133d8228698a70a5376506da6927408#diff-90210dd24c42dd62359c3f0e1bdcb826L191">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/0cf6e4916133d8228698a70a5376506da6927408#diff-90210dd24c42dd62359c3f0e1bdcb826L192">192</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/0cf6e4916133d8228698a70a5376506da6927408#diff-90210dd24c42dd62359c3f0e1bdcb826L193">193</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/0cf6e4916133d8228698a70a5376506da6927408#diff-90210dd24c42dd62359c3f0e1bdcb826L194">194</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/0cf6e4916133d8228698a70a5376506da6927408#diff-90210dd24c42dd62359c3f0e1bdcb826L195">195</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/0cf6e4916133d8228698a70a5376506da6927408#diff-90210dd24c42dd62359c3f0e1bdcb826L196">196</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/0cf6e4916133d8228698a70a5376506da6927408#diff-90210dd24c42dd62359c3f0e1bdcb826L197">197</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/0cf6e4916133d8228698a70a5376506da6927408#diff-90210dd24c42dd62359c3f0e1bdcb826L198">198</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-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/0cf6e4916133d8228698a70a5376506da6927408#diff-90210dd24c42dd62359c3f0e1bdcb826L199">199</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/0cf6e4916133d8228698a70a5376506da6927408#diff-90210dd24c42dd62359c3f0e1bdcb826L200">200</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/0cf6e4916133d8228698a70a5376506da6927408#diff-90210dd24c42dd62359c3f0e1bdcb826L201">201</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/ranguba/groonga-client/commit/0cf6e4916133d8228698a70a5376506da6927408#diff-90210dd24c42dd62359c3f0e1bdcb826R191">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/0cf6e4916133d8228698a70a5376506da6927408#diff-90210dd24c42dd62359c3f0e1bdcb826R192">192</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/0cf6e4916133d8228698a70a5376506da6927408#diff-90210dd24c42dd62359c3f0e1bdcb826R193">193</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/0cf6e4916133d8228698a70a5376506da6927408#diff-90210dd24c42dd62359c3f0e1bdcb826R194">194</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-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/0cf6e4916133d8228698a70a5376506da6927408#diff-90210dd24c42dd62359c3f0e1bdcb826R195">195</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/0cf6e4916133d8228698a70a5376506da6927408#diff-90210dd24c42dd62359c3f0e1bdcb826R196">196</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/0cf6e4916133d8228698a70a5376506da6927408#diff-90210dd24c42dd62359c3f0e1bdcb826R197">197</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/0cf6e4916133d8228698a70a5376506da6927408#diff-90210dd24c42dd62359c3f0e1bdcb826R198">198</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/0cf6e4916133d8228698a70a5376506da6927408#diff-90210dd24c42dd62359c3f0e1bdcb826R199">199</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/0cf6e4916133d8228698a70a5376506da6927408#diff-90210dd24c42dd62359c3f0e1bdcb826R200">200</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/0cf6e4916133d8228698a70a5376506da6927408#diff-90210dd24c42dd62359c3f0e1bdcb826R201">201</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/0cf6e4916133d8228698a70a5376506da6927408#diff-90210dd24c42dd62359c3f0e1bdcb826R202">202</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/0cf6e4916133d8228698a70a5376506da6927408#diff-90210dd24c42dd62359c3f0e1bdcb826R203">203</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/0cf6e4916133d8228698a70a5376506da6927408#diff-90210dd24c42dd62359c3f0e1bdcb826R204">204</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">@@ -192,10 +192,13 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">module Groonga</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">                           flags,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                           type,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                           source)</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-            tokens = list_tokens(table_name)</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-            broken_index_tokens = verify_tokens(table_name, column_name,</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-                                                new_column_name, tokens)</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-            column_remove(table_name, new_column_name)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+            begin</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+              tokens = list_tokens(table_name)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+              broken_index_tokens = verify_tokens(table_name, column_name,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+                                                  new_column_name, tokens)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+            ensure</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+              column_remove(table_name, new_column_name)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+            end</span>
<span class="diff-not-changed" style="display: block; white-space: pre">             if broken_index_tokens.empty?</span>
<span class="diff-not-changed" style="display: block; white-space: pre">               true</span>
<span class="diff-not-changed" style="display: block; white-space: pre">             else</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>