duckdb 0.4.1-dev1214.0 → 0.4.1-dev1216.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.4.1-dev1214.0",
4
+ "version": "0.4.1-dev1216.0",
5
5
  "description": "DuckDB node.js API",
6
6
  "gypfile": true,
7
7
  "dependencies": {
package/src/duckdb.cpp CHANGED
@@ -132260,6 +132260,7 @@ namespace duckdb {
132260
132260
 
132261
132261
  DistinctRelation::DistinctRelation(shared_ptr<Relation> child_p)
132262
132262
  : Relation(child_p->context, RelationType::DISTINCT_RELATION), child(move(child_p)) {
132263
+ D_ASSERT(child.get() != this);
132263
132264
  vector<ColumnDefinition> dummy_columns;
132264
132265
  context.GetContext()->TryBindRelation(*this, dummy_columns);
132265
132266
  }
@@ -132461,6 +132462,7 @@ namespace duckdb {
132461
132462
 
132462
132463
  FilterRelation::FilterRelation(shared_ptr<Relation> child_p, unique_ptr<ParsedExpression> condition_p)
132463
132464
  : Relation(child_p->context, RelationType::FILTER_RELATION), condition(move(condition_p)), child(move(child_p)) {
132465
+ D_ASSERT(child.get() != this);
132464
132466
  vector<ColumnDefinition> dummy_columns;
132465
132467
  context.GetContext()->TryBindRelation(*this, dummy_columns);
132466
132468
  }
@@ -132774,6 +132776,7 @@ namespace duckdb {
132774
132776
  LimitRelation::LimitRelation(shared_ptr<Relation> child_p, int64_t limit, int64_t offset)
132775
132777
  : Relation(child_p->context, RelationType::PROJECTION_RELATION), limit(limit), offset(offset),
132776
132778
  child(move(child_p)) {
132779
+ D_ASSERT(child.get() != this);
132777
132780
  }
132778
132781
 
132779
132782
  unique_ptr<QueryNode> LimitRelation::GetQueryNode() {
@@ -132859,6 +132862,7 @@ namespace duckdb {
132859
132862
 
132860
132863
  OrderRelation::OrderRelation(shared_ptr<Relation> child_p, vector<OrderByNode> orders)
132861
132864
  : Relation(child_p->context, RelationType::ORDER_RELATION), orders(move(orders)), child(move(child_p)) {
132865
+ D_ASSERT(child.get() != this);
132862
132866
  // bind the expressions
132863
132867
  context.GetContext()->TryBindRelation(*this, this->columns);
132864
132868
  }
@@ -133254,6 +133258,7 @@ namespace duckdb {
133254
133258
 
133255
133259
  SubqueryRelation::SubqueryRelation(shared_ptr<Relation> child_p, string alias_p)
133256
133260
  : Relation(child_p->context, RelationType::SUBQUERY_RELATION), child(move(child_p)), alias(move(alias_p)) {
133261
+ D_ASSERT(child.get() != this);
133257
133262
  vector<ColumnDefinition> dummy_columns;
133258
133263
  context.GetContext()->TryBindRelation(*this, dummy_columns);
133259
133264
  }
@@ -134113,7 +134118,7 @@ vector<shared_ptr<ExternalDependency>> Relation::GetAllDependencies() {
134113
134118
  if (cur->extra_dependencies) {
134114
134119
  all_dependencies.push_back(cur->extra_dependencies);
134115
134120
  }
134116
- cur = ChildRelation();
134121
+ cur = cur->ChildRelation();
134117
134122
  }
134118
134123
  return all_dependencies;
134119
134124
  }
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 "5c9a3d686"
15
- #define DUCKDB_VERSION "v0.4.1-dev1214"
14
+ #define DUCKDB_SOURCE_ID "7a745298b"
15
+ #define DUCKDB_VERSION "v0.4.1-dev1216"
16
16
  //===----------------------------------------------------------------------===//
17
17
  // DuckDB
18
18
  //