duckdb 0.5.2-dev1962.0 → 0.5.2-dev1973.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-dev1962.0",
5
+ "version": "0.5.2-dev1973.0",
6
6
  "description": "DuckDB node.js API",
7
7
  "gypfile": true,
8
8
  "dependencies": {
package/src/duckdb.cpp CHANGED
@@ -169259,7 +169259,6 @@ bool LambdaExpression::Equals(const LambdaExpression *a, const LambdaExpression
169259
169259
  }
169260
169260
 
169261
169261
  hash_t LambdaExpression::Hash() const {
169262
-
169263
169262
  hash_t result = lhs->Hash();
169264
169263
  ParsedExpression::Hash();
169265
169264
  result = CombineHash(result, expr->Hash());
@@ -169267,7 +169266,9 @@ hash_t LambdaExpression::Hash() const {
169267
169266
  }
169268
169267
 
169269
169268
  unique_ptr<ParsedExpression> LambdaExpression::Copy() const {
169270
- return make_unique<LambdaExpression>(lhs->Copy(), expr->Copy());
169269
+ auto copy = make_unique<LambdaExpression>(lhs->Copy(), expr->Copy());
169270
+ copy->CopyProperties(*this);
169271
+ return move(copy);
169271
169272
  }
169272
169273
 
169273
169274
  void LambdaExpression::Serialize(FieldWriter &writer) const {
@@ -200337,7 +200338,6 @@ public:
200337
200338
 
200338
200339
  #endif
200339
200340
 
200340
-
200341
200341
  //===----------------------------------------------------------------------===//
200342
200342
  // DuckDB
200343
200343
  //
@@ -200401,6 +200401,7 @@ public:
200401
200401
  } // namespace duckdb
200402
200402
 
200403
200403
 
200404
+
200404
200405
  namespace duckdb {
200405
200406
 
200406
200407
  BufferPoolReservation::BufferPoolReservation(BufferPoolReservation &&src) noexcept {
@@ -200451,7 +200452,7 @@ BlockHandle::BlockHandle(BlockManager &block_manager, block_id_t block_id_p, uni
200451
200452
  unswizzled(nullptr) {
200452
200453
  buffer = move(buffer_p);
200453
200454
  state = BlockState::BLOCK_LOADED;
200454
- memory_usage = buffer->AllocSize();
200455
+ memory_usage = block_size;
200455
200456
  memory_charge = move(reservation);
200456
200457
  }
200457
200458
 
@@ -200727,7 +200728,7 @@ shared_ptr<BlockHandle> BufferManager::RegisterMemory(idx_t block_size, bool can
200727
200728
  auto buffer = ConstructManagedBuffer(block_size, move(reusable_buffer));
200728
200729
 
200729
200730
  // create a new block pointer for this block
200730
- return make_shared<BlockHandle>(*temp_block_manager, ++temporary_id, move(buffer), can_destroy, block_size,
200731
+ return make_shared<BlockHandle>(*temp_block_manager, ++temporary_id, move(buffer), can_destroy, alloc_size,
200731
200732
  move(res));
200732
200733
  }
200733
200734
 
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 "e19c41770b"
15
- #define DUCKDB_VERSION "v0.5.2-dev1962"
14
+ #define DUCKDB_SOURCE_ID "8e8a8d0f1c"
15
+ #define DUCKDB_VERSION "v0.5.2-dev1973"
16
16
  //===----------------------------------------------------------------------===//
17
17
  // DuckDB
18
18
  //