<!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">2018-02-19 23:25:25 +0900 (Mon, 19 Feb 2018)</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/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b">e296c85093131c04f4bbdabc81bf9de21a24527b</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">logical_select: fix a bug that wrong cache is used

If there is only &quot;drilldowns[LABEL].table&quot; difference between 2
queries, latter query uses wrong cache.</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/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-8b4222f5078cb869e8e561c84c589020">plugins/sharding/logical_select.rb</a></li>
          <li><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6">test/command/suite/sharding/logical_select/cache/drilldowns/table.expected</a></li>
          <li><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-bd724cdf1a3f567fd73b4c32d547d103">test/command/suite/sharding/logical_select/cache/drilldowns/table.test</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: plugins/sharding/logical_select.rb (+1 -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/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-8b4222f5078cb869e8e561c84c589020L91">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-8b4222f5078cb869e8e561c84c589020L92">92</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-8b4222f5078cb869e8e561c84c589020L93">93</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-8b4222f5078cb869e8e561c84c589020L94">94</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/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-8b4222f5078cb869e8e561c84c589020L95">95</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-8b4222f5078cb869e8e561c84c589020L96">96</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-8b4222f5078cb869e8e561c84c589020L97">97</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/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-8b4222f5078cb869e8e561c84c589020R91">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-8b4222f5078cb869e8e561c84c589020R92">92</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-8b4222f5078cb869e8e561c84c589020R93">93</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-8b4222f5078cb869e8e561c84c589020R94">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/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-8b4222f5078cb869e8e561c84c589020R95">95</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-8b4222f5078cb869e8e561c84c589020R96">96</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-8b4222f5078cb869e8e561c84c589020R97">97</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-8b4222f5078cb869e8e561c84c589020R98">98</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">@@ -92,6 +92,7 @@ <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">         labeled_drilldowns = LabeledDrilldowns.parse(input).sort_by(&amp;:label)</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         labeled_drilldowns.each do |drilldown|</span>
<span class="diff-not-changed" style="display: block; white-space: pre">           key &lt;&lt; &quot;#{drilldown.label}\0&quot;</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+          key &lt;&lt; &quot;#{drilldown.table}\0&quot;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">           key &lt;&lt; &quot;#{drilldown.keys.join(&#39;,&#39;)}\0&quot;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">           key &lt;&lt; &quot;#{drilldown.output_columns}\0&quot;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">           key &lt;&lt; &quot;#{drilldown.offset}\0&quot;</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: test/command/suite/sharding/logical_select/cache/drilldowns/table.expected (+22 -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/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6L153">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6L154">154</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6L155">155</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6L156">156</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-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6L157">157</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6L158">158</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6L159">159</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6L230">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6L231">231</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6L232">232</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6L233">233</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>
</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/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6R153">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6R154">154</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6R155">155</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6R156">156</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6R157">157</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6R158">158</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6R159">159</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6R160">160</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6R161">161</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6R162">162</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6R163">163</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6R164">164</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6R165">165</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6R166">166</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6R167">167</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6R168">168</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6R169">169</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6R170">170</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6R241">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6R242">242</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6R243">243</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6R244">244</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6R245">245</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6R246">246</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6R247">247</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6R248">248</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6R249">249</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6R250">250</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6R251">251</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6R252">252</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6R253">253</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6R254">254</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-952eeeec3dc921ec48820c14c6868ff6R255">255</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">@@ -154,6 +154,17 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">logical_select Logs   --shard_key timestamp   --limit 0   --output_columns _id</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">   ]</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">+#&gt;logical_select --drilldowns[action].keys &quot;_key&quot; --drilldowns[action].table &quot;restart&quot; --drilldowns[restart].filter &quot;_key @ &#39;Restart&#39;&quot; --drilldowns[restart].keys &quot;action&quot; --drilldowns[restart].output_columns &quot;_key&quot; --drilldowns[restart].stage &quot;initial&quot; --drilldowns[start].filter &quot;_key @ &#39;Start&#39;&quot; --drilldowns[start].keys &quot;action&quot; --drilldowns[start].output_columns &quot;_key&quot; --drilldowns[start].stage &quot;initial&quot; --limit &quot;0&quot; --logical_table &quot;Logs&quot; --output_columns &quot;_id&quot; --shard_key &quot;timestamp&quot;</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+#:000000000000000 select(2)[Logs_20150203]</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+#:000000000000000 select(3)[Logs_20150204]</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+#:000000000000000 select(4)[Logs_20150205]</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+#:000000000000000 filter(1)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+#:000000000000000 filter(2)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+#:000000000000000 output(0)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+#:000000000000000 output.drilldowns(1)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+#:000000000000000 output.drilldowns(1)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+#:000000000000000 output.drilldowns(2)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+#&lt;000000000000000 rc=0</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> logical_select Logs   --shard_key timestamp   --limit 0   --output_columns _id   --drilldowns[action].table start   --drilldowns[action].keys _key   --drilldowns[restart].stage initial   --drilldowns[restart].keys &#39;action&#39;   --drilldowns[restart].filter &quot;_key @ &#39;Restart&#39;&quot;   --drilldowns[restart].output_columns _key   --drilldowns[start].stage initial   --drilldowns[start].keys &#39;action&#39;   --drilldowns[start].filter &quot;_key @ &#39;Start&#39;&quot;   --drilldowns[start].output_columns _key</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> [</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   [</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -231,3 +242,14 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">logical_select Logs   --shard_key timestamp   --limit 0   --output_columns _id</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">   ]</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">+#&gt;logical_select --drilldowns[action].keys &quot;_key&quot; --drilldowns[action].table &quot;start&quot; --drilldowns[restart].filter &quot;_key @ &#39;Restart&#39;&quot; --drilldowns[restart].keys &quot;action&quot; --drilldowns[restart].output_columns &quot;_key&quot; --drilldowns[restart].stage &quot;initial&quot; --drilldowns[start].filter &quot;_key @ &#39;Start&#39;&quot; --drilldowns[start].keys &quot;action&quot; --drilldowns[start].output_columns &quot;_key&quot; --drilldowns[start].stage &quot;initial&quot; --limit &quot;0&quot; --logical_table &quot;Logs&quot; --output_columns &quot;_id&quot; --shard_key &quot;timestamp&quot;</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+#:000000000000000 select(2)[Logs_20150203]</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+#:000000000000000 select(3)[Logs_20150204]</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+#:000000000000000 select(4)[Logs_20150205]</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+#:000000000000000 filter(2)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+#:000000000000000 filter(1)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+#:000000000000000 output(0)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+#:000000000000000 output.drilldowns(2)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+#:000000000000000 output.drilldowns(1)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+#:000000000000000 output.drilldowns(2)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+#&lt;000000000000000 rc=0</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: test/command/suite/sharding/logical_select/cache/drilldowns/table.test (+4 -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/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-bd724cdf1a3f567fd73b4c32d547d103L73">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-bd724cdf1a3f567fd73b4c32d547d103L74">74</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-bd724cdf1a3f567fd73b4c32d547d103L75">75</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-bd724cdf1a3f567fd73b4c32d547d103L76">76</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-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-bd724cdf1a3f567fd73b4c32d547d103L77">77</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-bd724cdf1a3f567fd73b4c32d547d103L78">78</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-bd724cdf1a3f567fd73b4c32d547d103L79">79</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-bd724cdf1a3f567fd73b4c32d547d103L102">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-bd724cdf1a3f567fd73b4c32d547d103L103">103</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-bd724cdf1a3f567fd73b4c32d547d103L104">104</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-bd724cdf1a3f567fd73b4c32d547d103L105">105</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</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/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-bd724cdf1a3f567fd73b4c32d547d103R73">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-bd724cdf1a3f567fd73b4c32d547d103R74">74</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-bd724cdf1a3f567fd73b4c32d547d103R75">75</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-bd724cdf1a3f567fd73b4c32d547d103R76">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/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-bd724cdf1a3f567fd73b4c32d547d103R77">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/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-bd724cdf1a3f567fd73b4c32d547d103R78">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/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-bd724cdf1a3f567fd73b4c32d547d103R79">79</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-bd724cdf1a3f567fd73b4c32d547d103R80">80</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-bd724cdf1a3f567fd73b4c32d547d103R81">81</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-bd724cdf1a3f567fd73b4c32d547d103R82">82</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-bd724cdf1a3f567fd73b4c32d547d103R105">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-bd724cdf1a3f567fd73b4c32d547d103R106">106</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-bd724cdf1a3f567fd73b4c32d547d103R107">107</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-bd724cdf1a3f567fd73b4c32d547d103R108">108</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/e296c85093131c04f4bbdabc81bf9de21a24527b#diff-bd724cdf1a3f567fd73b4c32d547d103R109">109</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">@@ -74,6 +74,9 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">load --table Logs_20150205</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"> ]</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">+#@sleep 1</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">+#@collect-query-log true</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> logical_select Logs \</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   --shard_key timestamp \</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   --limit 0 \</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -103,3 +106,4 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">logical_select Logs \</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">   --drilldowns[start].keys &#39;action&#39; \</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   --drilldowns[start].filter &quot;_key @ &#39;Start&#39;&quot; \</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   --drilldowns[start].output_columns _key</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+#@collect-query-log false</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>