duckdb 0.5.2-dev1080.0 → 0.5.2-dev1083.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-dev1080.0",
5
+ "version": "0.5.2-dev1083.0",
6
6
  "description": "DuckDB node.js API",
7
7
  "gypfile": true,
8
8
  "dependencies": {
package/src/duckdb.cpp CHANGED
@@ -201827,6 +201827,10 @@ public:
201827
201827
  }
201828
201828
 
201829
201829
  void AddNull() {
201830
+ if (!HasEnoughSpace(0)) {
201831
+ Flush();
201832
+ D_ASSERT(HasEnoughSpace(0));
201833
+ }
201830
201834
  index_buffer.push_back(0);
201831
201835
  current_segment->count++;
201832
201836
  }
@@ -201902,6 +201906,9 @@ public:
201902
201906
  Store<uint32_t>(symbol_table_offset, (data_ptr_t)&header_ptr->fsst_symbol_table_offset);
201903
201907
  Store<uint32_t>((uint32_t)current_width, (data_ptr_t)&header_ptr->bitpacking_width);
201904
201908
 
201909
+ D_ASSERT(symbol_table_offset + fsst_serialized_symbol_table_size <=
201910
+ current_dictionary.end - current_dictionary.size);
201911
+
201905
201912
  if (total_size >= FSSTStorage::COMPACTION_FLUSH_LIMIT) {
201906
201913
  // the block is full enough, don't bother moving around the dictionary
201907
201914
  return Storage::BLOCK_SIZE;
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 "8fcee5d41"
15
- #define DUCKDB_VERSION "v0.5.2-dev1080"
14
+ #define DUCKDB_SOURCE_ID "2c8cbc4c0"
15
+ #define DUCKDB_VERSION "v0.5.2-dev1083"
16
16
  //===----------------------------------------------------------------------===//
17
17
  // DuckDB
18
18
  //