<!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 17:34:39 +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/9621766b74e89381571a657e14eb4adff082209b">9621766b74e89381571a657e14eb4adff082209b</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">Extract common code</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/9621766b74e89381571a657e14eb4adff082209b#diff-90210dd24c42dd62359c3f0e1bdcb826">lib/groonga/client/command-line/groonga-client-index-check.rb</a></li>
          <li><a href="https://github.com/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-eab33c3b8b9629eb0adea6ac84ddb1eb">lib/groonga/client/command-line/groonga-client-index-recreate.rb</a></li>
          <li><a href="https://github.com/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bd">lib/groonga/client/command-line/runner.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 (+2 -19)</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/9621766b74e89381571a657e14eb4adff082209b#diff-90210dd24c42dd62359c3f0e1bdcb826L176">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-90210dd24c42dd62359c3f0e1bdcb826L177">177</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-90210dd24c42dd62359c3f0e1bdcb826L178">178</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-90210dd24c42dd62359c3f0e1bdcb826L179">179</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/9621766b74e89381571a657e14eb4adff082209b#diff-90210dd24c42dd62359c3f0e1bdcb826L180">180</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/9621766b74e89381571a657e14eb4adff082209b#diff-90210dd24c42dd62359c3f0e1bdcb826L181">181</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/9621766b74e89381571a657e14eb4adff082209b#diff-90210dd24c42dd62359c3f0e1bdcb826L182">182</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/9621766b74e89381571a657e14eb4adff082209b#diff-90210dd24c42dd62359c3f0e1bdcb826L183">183</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/9621766b74e89381571a657e14eb4adff082209b#diff-90210dd24c42dd62359c3f0e1bdcb826L184">184</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/9621766b74e89381571a657e14eb4adff082209b#diff-90210dd24c42dd62359c3f0e1bdcb826L185">185</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/9621766b74e89381571a657e14eb4adff082209b#diff-90210dd24c42dd62359c3f0e1bdcb826L186">186</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/9621766b74e89381571a657e14eb4adff082209b#diff-90210dd24c42dd62359c3f0e1bdcb826L187">187</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/9621766b74e89381571a657e14eb4adff082209b#diff-90210dd24c42dd62359c3f0e1bdcb826L188">188</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/9621766b74e89381571a657e14eb4adff082209b#diff-90210dd24c42dd62359c3f0e1bdcb826L189">189</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/9621766b74e89381571a657e14eb4adff082209b#diff-90210dd24c42dd62359c3f0e1bdcb826L190">190</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/9621766b74e89381571a657e14eb4adff082209b#diff-90210dd24c42dd62359c3f0e1bdcb826L191">191</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/9621766b74e89381571a657e14eb4adff082209b#diff-90210dd24c42dd62359c3f0e1bdcb826L192">192</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/9621766b74e89381571a657e14eb4adff082209b#diff-90210dd24c42dd62359c3f0e1bdcb826L193">193</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/9621766b74e89381571a657e14eb4adff082209b#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/9621766b74e89381571a657e14eb4adff082209b#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/9621766b74e89381571a657e14eb4adff082209b#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/9621766b74e89381571a657e14eb4adff082209b#diff-90210dd24c42dd62359c3f0e1bdcb826L197">197</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/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-90210dd24c42dd62359c3f0e1bdcb826L198">198</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-90210dd24c42dd62359c3f0e1bdcb826L199">199</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/9621766b74e89381571a657e14eb4adff082209b#diff-90210dd24c42dd62359c3f0e1bdcb826L200">200</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/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-90210dd24c42dd62359c3f0e1bdcb826L201">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/9621766b74e89381571a657e14eb4adff082209b#diff-90210dd24c42dd62359c3f0e1bdcb826L202">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/9621766b74e89381571a657e14eb4adff082209b#diff-90210dd24c42dd62359c3f0e1bdcb826L203">203</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/9621766b74e89381571a657e14eb4adff082209b#diff-90210dd24c42dd62359c3f0e1bdcb826R176">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-90210dd24c42dd62359c3f0e1bdcb826R177">177</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-90210dd24c42dd62359c3f0e1bdcb826R178">178</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-90210dd24c42dd62359c3f0e1bdcb826R179">179</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-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-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-90210dd24c42dd62359c3f0e1bdcb826R180">180</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-90210dd24c42dd62359c3f0e1bdcb826R181">181</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-90210dd24c42dd62359c3f0e1bdcb826R182">182</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: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-90210dd24c42dd62359c3f0e1bdcb826R183">183</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-90210dd24c42dd62359c3f0e1bdcb826R184">184</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-90210dd24c42dd62359c3f0e1bdcb826R185">185</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-90210dd24c42dd62359c3f0e1bdcb826R186">186</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">@@ -177,27 +177,10 @@ <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">             column_name = index_column[&quot;name&quot;]</span>
<span class="diff-not-changed" style="display: block; white-space: pre">             suffix = Time.now.strftime(&quot;%Y%m%d%H%M%S_%N&quot;)</span>
<span class="diff-not-changed" style="display: block; white-space: pre">             new_column_name = &quot;#{column_name}_#{suffix}&quot;</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-            source_table = nil</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-            source_columns = []</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-            index_column.sources.each do |source|</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-              if source.include?(&quot;.&quot;)</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-                source_table, source_column = source.split(&quot;.&quot;)</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-                source_columns &lt;&lt; source_column</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-              else</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-                source_table = source</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-                source_columns &lt;&lt; &quot;_key&quot;</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-              end</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-            end</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-            flags = index_column[&quot;flags&quot;].split(&quot;|&quot;)</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-            flags.delete(&quot;PERSISTENT&quot;)</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-            column_create(table_name,</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-                          new_column_name,</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-                          flags.join(&quot;|&quot;),</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-                          source_table,</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-                          source_columns.join(&quot;,&quot;))</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+            column_create_similar(table_name, new_column_name, column_name)</span>
<span class="diff-not-changed" style="display: block; white-space: pre">             begin</span>
<span class="diff-not-changed" style="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_token = verify_tokens(<span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">s</span>our<span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">ce_t</span>a<span class="diff-deleted-word" style="background-color: #f8cbcb; color: #000000">bl</span>e,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+              broken_token = verify_tokens(<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">index_c</span>o<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">l</span>u<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">mn.</span>ra<span class="diff-added-word" style="background-color: #a6f3a6; color: #000000">ng</span>e,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                                            table_name,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                                            column_name,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                                            new_column_name,</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; 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-recreate.rb (+0 -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/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-eab33c3b8b9629eb0adea6ac84ddb1ebL90">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-eab33c3b8b9629eb0adea6ac84ddb1ebL91">91</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-eab33c3b8b9629eb0adea6ac84ddb1ebL92">92</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-eab33c3b8b9629eb0adea6ac84ddb1ebL93">93</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/9621766b74e89381571a657e14eb4adff082209b#diff-eab33c3b8b9629eb0adea6ac84ddb1ebL94">94</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/9621766b74e89381571a657e14eb4adff082209b#diff-eab33c3b8b9629eb0adea6ac84ddb1ebL95">95</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/9621766b74e89381571a657e14eb4adff082209b#diff-eab33c3b8b9629eb0adea6ac84ddb1ebL96">96</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/9621766b74e89381571a657e14eb4adff082209b#diff-eab33c3b8b9629eb0adea6ac84ddb1ebL97">97</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/9621766b74e89381571a657e14eb4adff082209b#diff-eab33c3b8b9629eb0adea6ac84ddb1ebL98">98</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/9621766b74e89381571a657e14eb4adff082209b#diff-eab33c3b8b9629eb0adea6ac84ddb1ebL99">99</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-eab33c3b8b9629eb0adea6ac84ddb1ebL100">100</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-eab33c3b8b9629eb0adea6ac84ddb1ebL101">101</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-eab33c3b8b9629eb0adea6ac84ddb1ebL102">102</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/9621766b74e89381571a657e14eb4adff082209b#diff-eab33c3b8b9629eb0adea6ac84ddb1ebR90">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-eab33c3b8b9629eb0adea6ac84ddb1ebR91">91</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-eab33c3b8b9629eb0adea6ac84ddb1ebR92">92</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-eab33c3b8b9629eb0adea6ac84ddb1ebR93">93</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-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-eab33c3b8b9629eb0adea6ac84ddb1ebR94">94</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-eab33c3b8b9629eb0adea6ac84ddb1ebR95">95</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-eab33c3b8b9629eb0adea6ac84ddb1ebR96">96</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">@@ -91,12 +91,6 @@ <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">             true</span>
<span class="diff-not-changed" style="display: block; white-space: pre">           end</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-          def column_create_similar(table, column_name, base_column_name)</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-            info = execute_command(:schema)[&quot;#{table}.#{base_column_name}&quot;]</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-            arguments = info.command.arguments.merge(&quot;name&quot; =&gt; column_name)</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-            execute_command(:column_create, arguments).body</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-          end</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-</span>
<span class="diff-not-changed" style="display: block; white-space: pre">           def set_alias(alias_column, alias_name, real_name)</span>
<span class="diff-not-changed" style="display: block; white-space: pre">             table, column = alias_column.split(&quot;.&quot;, 2)</span>
<span class="diff-not-changed" style="display: block; white-space: pre">             values = [</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; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">  Modified: lib/groonga/client/command-line/runner.rb (+27 -0)</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/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bdL71">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bdL72">72</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bdL73">73</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bdL74">74</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-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-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/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bdL75">75</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bdL76">76</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bdL77">77</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/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bdR71">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bdR72">72</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bdR73">73</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bdR74">74</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/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bdR75">75</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/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bdR76">76</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/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bdR77">77</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/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bdR78">78</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/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bdR79">79</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/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bdR80">80</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/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bdR81">81</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/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bdR82">82</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/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bdR83">83</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/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bdR84">84</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/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bdR85">85</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/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bdR86">86</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/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bdR87">87</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/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bdR88">88</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/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bdR89">89</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/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bdR90">90</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/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bdR91">91</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/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bdR92">92</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/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bdR93">93</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/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bdR94">94</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/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bdR95">95</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/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bdR96">96</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/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bdR97">97</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/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bdR98">98</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/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bdR99">99</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/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bdR100">100</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/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bdR101">101</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bdR102">102</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bdR103">103</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/groonga-client/commit/9621766b74e89381571a657e14eb4adff082209b#diff-8687fd91ba407ca94c935d2ea1e3d6bdR104">104</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">@@ -72,6 +72,33 @@ <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">                           :source =&gt; source).body</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         end</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+        def column_create_similar(table_name, column_name, base_column_name)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+          if object_exist?(:schema)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+            info = execute_command(:schema)[&quot;#{table_name}.#{base_column_name}&quot;]</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+            arguments = info.command.arguments.merge(&quot;name&quot; =&gt; column_name)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+            execute_command(:column_create, arguments).body</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">+            base_column = column_list(table_name).find do |column|</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+              column.name == base_column_name</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+            end</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+            range = base_column.range</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+            source_columns = base_column.sources.collect do |source|</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+              if source.include?(&quot;.&quot;)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+                source.split(&quot;.&quot;, 2)[1]</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">+                &quot;_key&quot;</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+              end</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+            end</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+            flags = base_column.flags.dup</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+            flags.delete(&quot;PERSISTENT&quot;)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+            column_create(table_name,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+                          column_name,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+                          flags.join(&quot;|&quot;),</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+                          range,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+                          source_columns.join(&quot;,&quot;))</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+          end</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+        end</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         def column_remove(table, column)</span>
<span class="diff-not-changed" style="display: block; white-space: pre">           execute_command(:column_remove,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                           :table =&gt; table,</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>