duckdb 0.3.5-dev602.0 → 0.3.5-dev604.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.5-dev602.0",
4
+ "version": "0.3.5-dev604.0",
5
5
  "description": "DuckDB node.js API",
6
6
  "gypfile": true,
7
7
  "dependencies": {
package/src/duckdb.cpp CHANGED
@@ -4681,6 +4681,7 @@ CatalogEntry *CatalogSet::CreateEntryInternal(ClientContext &context, unique_ptr
4681
4681
  auto entry_index = current_entry++;
4682
4682
  auto catalog_entry = entry.get();
4683
4683
 
4684
+ entry->set = this;
4684
4685
  entry->timestamp = 0;
4685
4686
 
4686
4687
  PutMapping(context, name, entry_index);
@@ -5376,6 +5377,9 @@ void DependencyManager::AddObject(ClientContext &context, CatalogEntry *object,
5376
5377
  for (auto &dependency : dependencies) {
5377
5378
  idx_t entry_index;
5378
5379
  CatalogEntry *catalog_entry;
5380
+ if (!dependency->set) {
5381
+ throw InternalException("Dependency has no set");
5382
+ }
5379
5383
  if (!dependency->set->GetEntryInternal(context, dependency->name, entry_index, catalog_entry)) {
5380
5384
  throw InternalException("Dependency has already been deleted?");
5381
5385
  }
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 "ee6a6986d"
15
- #define DUCKDB_VERSION "v0.3.5-dev602"
14
+ #define DUCKDB_SOURCE_ID "18f705661"
15
+ #define DUCKDB_VERSION "v0.3.5-dev604"
16
16
  //===----------------------------------------------------------------------===//
17
17
  // DuckDB
18
18
  //