duckdb 0.5.2-dev2001.0 → 0.5.2-dev2009.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.5.2-dev2001.0",
5
+ "version": "0.5.2-dev2009.0",
6
6
  "description": "DuckDB node.js API",
7
7
  "gypfile": true,
8
8
  "dependencies": {
package/src/duckdb.cpp CHANGED
@@ -185277,6 +185277,8 @@ BindResult ExpressionBinder::BindExpression(CollateExpression &expr, idx_t depth
185277
185277
  if (child.expr->return_type.id() != LogicalTypeId::VARCHAR) {
185278
185278
  throw BinderException("collations are only supported for type varchar");
185279
185279
  }
185280
+ // Validate the collation, but don't use it
185281
+ PushCollation(context, child.expr->Copy(), expr.collation, false);
185280
185282
  child.expr->return_type = LogicalType::VARCHAR_COLLATION(expr.collation);
185281
185283
  return BindResult(move(child.expr));
185282
185284
  }
package/src/duckdb.hpp CHANGED
@@ -11,8 +11,8 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
11
11
  #pragma once
12
12
  #define DUCKDB_AMALGAMATION 1
13
13
  #define DUCKDB_AMALGAMATION_EXTENDED 1
14
- #define DUCKDB_SOURCE_ID "f6c8e031d1"
15
- #define DUCKDB_VERSION "v0.5.2-dev2001"
14
+ #define DUCKDB_SOURCE_ID "eb05aee874"
15
+ #define DUCKDB_VERSION "v0.5.2-dev2009"
16
16
  //===----------------------------------------------------------------------===//
17
17
  // DuckDB
18
18
  //