<!DOCTYPE html>
<html>
<head>
</head>
<body>
<dl style="line-height: 1.5; margin-left: 2em">
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Author</dt>
<dd style="margin-left: 8.5em">Kouhei Sutou <kou****@clear*****></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
<dd style="margin-left: 8.5em">2018-09-10 13:56:47 +0900 (Mon, 10 Sep 2018)</dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Revision</dt>
<dd style="margin-left: 8.5em"><a href="https://github.com/groonga/groonga/commit/5ee4f3fbfd8ef772d3b48c6b3783365b5a863606">5ee4f3fbfd8ef772d3b48c6b3783365b5a863606</a></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Message</dt>
<dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">Support "bool * numeric"
+, - and / are also supported.</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/5ee4f3fbfd8ef772d3b48c6b3783365b5a863606#diff-5c07aef7cc31d270f47e0e2371549e51">lib/expr_executor.c</a></li>
</ul>
</dd>
</dl>
<div class="diff-section" style="clear: both">
<table style="border-collapse: collapse; border: 1px solid #aaa">
<thead>
<tr class="diff-header" style="border: 1px solid #aaa">
<td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: lib/expr_executor.c (+14 -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, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/5ee4f3fbfd8ef772d3b48c6b3783365b5a863606#diff-5c07aef7cc31d270f47e0e2371549e51L332">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/5ee4f3fbfd8ef772d3b48c6b3783365b5a863606#diff-5c07aef7cc31d270f47e0e2371549e51L333">333</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/5ee4f3fbfd8ef772d3b48c6b3783365b5a863606#diff-5c07aef7cc31d270f47e0e2371549e51L334">334</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/5ee4f3fbfd8ef772d3b48c6b3783365b5a863606#diff-5c07aef7cc31d270f47e0e2371549e51L335">335</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/5ee4f3fbfd8ef772d3b48c6b3783365b5a863606#diff-5c07aef7cc31d270f47e0e2371549e51L336">336</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/5ee4f3fbfd8ef772d3b48c6b3783365b5a863606#diff-5c07aef7cc31d270f47e0e2371549e51L337">337</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/5ee4f3fbfd8ef772d3b48c6b3783365b5a863606#diff-5c07aef7cc31d270f47e0e2371549e51L338">338</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/5ee4f3fbfd8ef772d3b48c6b3783365b5a863606#diff-5c07aef7cc31d270f47e0e2371549e51R332">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/5ee4f3fbfd8ef772d3b48c6b3783365b5a863606#diff-5c07aef7cc31d270f47e0e2371549e51R333">333</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/5ee4f3fbfd8ef772d3b48c6b3783365b5a863606#diff-5c07aef7cc31d270f47e0e2371549e51R334">334</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/5ee4f3fbfd8ef772d3b48c6b3783365b5a863606#diff-5c07aef7cc31d270f47e0e2371549e51R335">335</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/5ee4f3fbfd8ef772d3b48c6b3783365b5a863606#diff-5c07aef7cc31d270f47e0e2371549e51R336">336</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/5ee4f3fbfd8ef772d3b48c6b3783365b5a863606#diff-5c07aef7cc31d270f47e0e2371549e51R337">337</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/5ee4f3fbfd8ef772d3b48c6b3783365b5a863606#diff-5c07aef7cc31d270f47e0e2371549e51R338">338</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/5ee4f3fbfd8ef772d3b48c6b3783365b5a863606#diff-5c07aef7cc31d270f47e0e2371549e51R339">339</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/5ee4f3fbfd8ef772d3b48c6b3783365b5a863606#diff-5c07aef7cc31d270f47e0e2371549e51R340">340</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/5ee4f3fbfd8ef772d3b48c6b3783365b5a863606#diff-5c07aef7cc31d270f47e0e2371549e51R341">341</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/5ee4f3fbfd8ef772d3b48c6b3783365b5a863606#diff-5c07aef7cc31d270f47e0e2371549e51R342">342</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/5ee4f3fbfd8ef772d3b48c6b3783365b5a863606#diff-5c07aef7cc31d270f47e0e2371549e51R343">343</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/5ee4f3fbfd8ef772d3b48c6b3783365b5a863606#diff-5c07aef7cc31d270f47e0e2371549e51R344">344</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/5ee4f3fbfd8ef772d3b48c6b3783365b5a863606#diff-5c07aef7cc31d270f47e0e2371549e51R345">345</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/5ee4f3fbfd8ef772d3b48c6b3783365b5a863606#diff-5c07aef7cc31d270f47e0e2371549e51R346">346</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/5ee4f3fbfd8ef772d3b48c6b3783365b5a863606#diff-5c07aef7cc31d270f47e0e2371549e51R347">347</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/5ee4f3fbfd8ef772d3b48c6b3783365b5a863606#diff-5c07aef7cc31d270f47e0e2371549e51R348">348</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/5ee4f3fbfd8ef772d3b48c6b3783365b5a863606#diff-5c07aef7cc31d270f47e0e2371549e51R349">349</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/5ee4f3fbfd8ef772d3b48c6b3783365b5a863606#diff-5c07aef7cc31d270f47e0e2371549e51R350">350</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/5ee4f3fbfd8ef772d3b48c6b3783365b5a863606#diff-5c07aef7cc31d270f47e0e2371549e51R351">351</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/5ee4f3fbfd8ef772d3b48c6b3783365b5a863606#diff-5c07aef7cc31d270f47e0e2371549e51R352">352</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -333,6 +333,20 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">grn_expr_executor_init_general(grn_ctx *ctx,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> text_operation, \</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> invalid_type_error) do { \</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> switch (x->header.domain) { \</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ case GRN_DB_BOOL : \</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">+ uint8_t x_; \</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ x_ = GRN_BOOL_VALUE(x) ? 1 : 0; \</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ left_expression_check(x_); \</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ NUMERIC_ARITHMETIC_OPERATION_DISPATCH(GRN_UINT8_SET, \</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ GRN_UINT8_VALUE, \</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ x_, y, res, \</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ integer8_operation, \</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ float_operation, \</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ right_expression_check, \</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ invalid_type_error); \</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">+ break; \</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> case GRN_DB_INT8 : \</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> { \</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> int8_t x_; \</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>