forked from duckdb/duckdb-wasm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge commit '37ac77d1896b11246b127c5384c640e9f56454e5' into HEAD
- Loading branch information
Showing
19 changed files
with
162 additions
and
302 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
diff --git a/src/execution/expression_executor.cpp b/src/execution/expression_executor.cpp | ||
index 63a24f479e..eadf1dea0d 100644 | ||
--- a/src/execution/expression_executor.cpp | ||
+++ b/src/execution/expression_executor.cpp | ||
@@ -236,7 +236,7 @@ idx_t ExpressionExecutor::Select(const Expression &expr, ExpressionState *state, | ||
D_ASSERT(true_sel || false_sel); | ||
D_ASSERT(expr.return_type.id() == LogicalTypeId::BOOLEAN); | ||
switch (expr.GetExpressionClass()) { | ||
-#ifndef DUCKDB_SMALLER_BINARY | ||
+#ifndef DUCKDB_SMALLER_BINARY_NO_SELECT | ||
case ExpressionClass::BOUND_BETWEEN: | ||
return Select(expr.Cast<BoundBetweenExpression>(), state, sel, count, true_sel, false_sel); | ||
#endif | ||
diff --git a/src/execution/expression_executor/execute_between.cpp b/src/execution/expression_executor/execute_between.cpp | ||
index 3418351362..52cf454530 100644 | ||
--- a/src/execution/expression_executor/execute_between.cpp | ||
+++ b/src/execution/expression_executor/execute_between.cpp | ||
@@ -7,7 +7,7 @@ | ||
|
||
namespace duckdb { | ||
|
||
-#ifndef DUCKDB_SMALLER_BINARY | ||
+#ifndef DUCKDB_SMALLER_BINARY_NO_SELECT | ||
struct BothInclusiveBetweenOperator { | ||
template <class T> | ||
static inline bool Operation(T input, T lower, T upper) { | ||
@@ -133,8 +133,8 @@ void ExpressionExecutor::Execute(const BoundBetweenExpression &expr, ExpressionS | ||
|
||
idx_t ExpressionExecutor::Select(const BoundBetweenExpression &expr, ExpressionState *state, const SelectionVector *sel, | ||
idx_t count, SelectionVector *true_sel, SelectionVector *false_sel) { | ||
-#ifdef DUCKDB_SMALLER_BINARY | ||
- throw InternalException("ExpressionExecutor::Select not available with DUCKDB_SMALLER_BINARY"); | ||
+#ifdef DUCKDB_SMALLER_BINARY_NO_SELECT | ||
+ throw InternalException("ExpressionExecutor::Select not available with DUCKDB_SMALLER_BINARY_NO_SELECT"); | ||
#else | ||
// resolve the children | ||
Vector input(state->intermediate_chunk.data[0]); |
Oops, something went wrong.