duckdb 0.5.2-dev1452.0 → 0.5.2-dev1455.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-dev1452.0",
5
+ "version": "0.5.2-dev1455.0",
6
6
  "description": "DuckDB node.js API",
7
7
  "gypfile": true,
8
8
  "dependencies": {
package/src/duckdb.cpp CHANGED
@@ -205782,8 +205782,7 @@ public:
205782
205782
  }
205783
205783
 
205784
205784
  void AddEmptyString() {
205785
- index_buffer.push_back(0);
205786
- current_segment->count++;
205785
+ AddNull();
205787
205786
  UncompressedStringStorage::UpdateStringStats(current_segment->stats, "");
205788
205787
  }
205789
205788
 
@@ -205852,8 +205851,10 @@ public:
205852
205851
  Store<uint32_t>(symbol_table_offset, (data_ptr_t)&header_ptr->fsst_symbol_table_offset);
205853
205852
  Store<uint32_t>((uint32_t)current_width, (data_ptr_t)&header_ptr->bitpacking_width);
205854
205853
 
205855
- D_ASSERT(symbol_table_offset + fsst_serialized_symbol_table_size <=
205856
- current_dictionary.end - current_dictionary.size);
205854
+ if (symbol_table_offset + fsst_serialized_symbol_table_size >
205855
+ current_dictionary.end - current_dictionary.size) {
205856
+ throw InternalException("FSST string compression failed due to incorrect size calculation");
205857
+ }
205857
205858
 
205858
205859
  if (total_size >= FSSTStorage::COMPACTION_FLUSH_LIMIT) {
205859
205860
  // the block is full enough, don't bother moving around the dictionary
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 "267d43e3d7"
15
- #define DUCKDB_VERSION "v0.5.2-dev1452"
14
+ #define DUCKDB_SOURCE_ID "675d983823"
15
+ #define DUCKDB_VERSION "v0.5.2-dev1455"
16
16
  //===----------------------------------------------------------------------===//
17
17
  // DuckDB
18
18
  //