duckdb 0.3.2-dev519.0 → 0.3.2-dev521.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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "duckdb",
3
3
  "main": "./lib/duckdb.js",
4
- "version": "0.3.2-dev519.0",
4
+ "version": "0.3.2-dev521.0",
5
5
  "description": "DuckDB node.js API",
6
6
  "gypfile": true,
7
7
  "dependencies": {
package/src/duckdb.cpp CHANGED
@@ -150192,7 +150192,8 @@ unique_ptr<LogicalOperator> Binder::CreatePlan(BoundRecursiveCTENode &node) {
150192
150192
  left_node = CastLogicalOperatorToTypes(node.left->types, node.types, move(left_node));
150193
150193
  right_node = CastLogicalOperatorToTypes(node.right->types, node.types, move(right_node));
150194
150194
 
150195
- if (node.right_binder->bind_context.cte_references[node.ctename] == nullptr) {
150195
+ if (!node.right_binder->bind_context.cte_references[node.ctename] ||
150196
+ *node.right_binder->bind_context.cte_references[node.ctename] == 0) {
150196
150197
  auto root = make_unique<LogicalSetOperation>(node.setop_index, node.types.size(), move(left_node),
150197
150198
  move(right_node), LogicalOperatorType::LOGICAL_UNION);
150198
150199
  return VisitQueryNode(node, move(root));
package/src/duckdb.hpp CHANGED
@@ -10,8 +10,8 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
10
10
 
11
11
  #pragma once
12
12
  #define DUCKDB_AMALGAMATION 1
13
- #define DUCKDB_SOURCE_ID "07830d900"
14
- #define DUCKDB_VERSION "0.3.2-dev519"
13
+ #define DUCKDB_SOURCE_ID "958511672"
14
+ #define DUCKDB_VERSION "0.3.2-dev521"
15
15
  //===----------------------------------------------------------------------===//
16
16
  // DuckDB
17
17
  //