duckdb 0.6.2-dev2348.0 → 0.6.2-dev2350.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "duckdb",
3
3
  "main": "./lib/duckdb.js",
4
4
  "types": "./lib/duckdb.d.ts",
5
- "version": "0.6.2-dev2348.0",
5
+ "version": "0.6.2-dev2350.0",
6
6
  "description": "DuckDB node.js API",
7
7
  "gypfile": true,
8
8
  "dependencies": {
@@ -368,8 +368,9 @@ static unique_ptr<FunctionData> ListFilterBind(ClientContext &context, ScalarFun
368
368
  // try to cast to boolean, if the return type of the lambda filter expression is not already boolean
369
369
  auto &bound_lambda_expr = (BoundLambdaExpression &)*arguments[1];
370
370
  if (bound_lambda_expr.lambda_expr->return_type != LogicalType::BOOLEAN) {
371
- bound_lambda_expr.lambda_expr = std::move(BoundCastExpression::AddCastToType(
372
- context, std::move(bound_lambda_expr.lambda_expr), LogicalType::BOOLEAN));
371
+ auto cast_lambda_expr =
372
+ BoundCastExpression::AddCastToType(context, std::move(bound_lambda_expr.lambda_expr), LogicalType::BOOLEAN);
373
+ bound_lambda_expr.lambda_expr = std::move(cast_lambda_expr);
373
374
  }
374
375
 
375
376
  bound_function.return_type = arguments[0]->return_type;
@@ -1,8 +1,8 @@
1
1
  #ifndef DUCKDB_VERSION
2
- #define DUCKDB_VERSION "0.6.2-dev2348"
2
+ #define DUCKDB_VERSION "0.6.2-dev2350"
3
3
  #endif
4
4
  #ifndef DUCKDB_SOURCE_ID
5
- #define DUCKDB_SOURCE_ID "3ee9cbb0ea"
5
+ #define DUCKDB_SOURCE_ID "6bfbe238d4"
6
6
  #endif
7
7
  #include "duckdb/function/table/system_functions.hpp"
8
8
  #include "duckdb/main/database.hpp"