duckdb 0.3.3-dev1374.0 → 0.3.3-dev1379.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.3-dev1374.0",
4
+ "version": "0.3.3-dev1379.0",
5
5
  "description": "DuckDB node.js API",
6
6
  "gypfile": true,
7
7
  "dependencies": {
package/src/duckdb.cpp CHANGED
@@ -4276,7 +4276,19 @@ void CatalogSet::CleanupEntry(CatalogEntry *catalog_entry) {
4276
4276
  // delete the entry from the dependency manager, if it is not deleted yet
4277
4277
  catalog_entry->catalog->dependency_manager->EraseObject(catalog_entry);
4278
4278
  }
4279
- catalog_entry->parent->child = move(catalog_entry->child);
4279
+ auto parent = catalog_entry->parent;
4280
+ parent->child = move(catalog_entry->child);
4281
+ if (parent->deleted && !parent->child && !parent->parent) {
4282
+ auto mapping_entry = mapping.find(parent->name);
4283
+ D_ASSERT(mapping_entry != mapping.end());
4284
+ auto index = mapping_entry->second->index;
4285
+ auto entry = entries.find(index);
4286
+ D_ASSERT(entry != entries.end());
4287
+ if (entry->second.get() == parent) {
4288
+ mapping.erase(mapping_entry);
4289
+ entries.erase(entry);
4290
+ }
4291
+ }
4280
4292
  }
4281
4293
  }
4282
4294
 
@@ -86987,7 +86999,7 @@ static unique_ptr<FunctionData> ListAggregateBind(ClientContext &context, Scalar
86987
86999
 
86988
87000
  ScalarFunction ListAggregateFun::GetFunction() {
86989
87001
  return ScalarFunction({LogicalType::LIST(LogicalType::ANY), LogicalType::VARCHAR}, LogicalType::ANY,
86990
- ListAggregateFunction, false, ListAggregateBind, nullptr, nullptr, nullptr);
87002
+ ListAggregateFunction, false, false, ListAggregateBind, nullptr, nullptr, nullptr);
86991
87003
  }
86992
87004
 
86993
87005
  void ListAggregateFun::RegisterFunction(BuiltinFunctions &set) {
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 "8264eea01"
15
- #define DUCKDB_VERSION "v0.3.3-dev1374"
14
+ #define DUCKDB_SOURCE_ID "52d9a8b85"
15
+ #define DUCKDB_VERSION "v0.3.3-dev1379"
16
16
  //===----------------------------------------------------------------------===//
17
17
  // DuckDB
18
18
  //