duckdb 0.3.2-dev658.0 → 0.3.2-dev660.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.2-dev658.0",
4
+ "version": "0.3.2-dev660.0",
5
5
  "description": "DuckDB node.js API",
6
6
  "gypfile": true,
7
7
  "dependencies": {
package/src/duckdb.cpp CHANGED
@@ -24915,8 +24915,8 @@ static void GatherNestedVector(Vector &rows, const SelectionVector &row_sel, Vec
24915
24915
  auto ptrs = FlatVector::GetData<data_ptr_t>(rows);
24916
24916
 
24917
24917
  // Build the gather locations
24918
- data_ptr_t data_locations[STANDARD_VECTOR_SIZE];
24919
- data_ptr_t mask_locations[STANDARD_VECTOR_SIZE];
24918
+ auto data_locations = unique_ptr<data_ptr_t[]>(new data_ptr_t[count]);
24919
+ auto mask_locations = unique_ptr<data_ptr_t[]>(new data_ptr_t[count]);
24920
24920
  for (idx_t i = 0; i < count; i++) {
24921
24921
  auto row_idx = row_sel.get_index(i);
24922
24922
  mask_locations[i] = ptrs[row_idx];
@@ -24924,7 +24924,7 @@ static void GatherNestedVector(Vector &rows, const SelectionVector &row_sel, Vec
24924
24924
  }
24925
24925
 
24926
24926
  // Deserialise into the selected locations
24927
- RowOperations::HeapGather(col, count, col_sel, col_no, data_locations, mask_locations);
24927
+ RowOperations::HeapGather(col, count, col_sel, col_no, data_locations.get(), mask_locations.get());
24928
24928
  }
24929
24929
 
24930
24930
  void RowOperations::Gather(Vector &rows, const SelectionVector &row_sel, Vector &col, const SelectionVector &col_sel,
package/src/duckdb.hpp CHANGED
@@ -10,8 +10,8 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
10
10
 
11
11
  #pragma once
12
12
  #define DUCKDB_AMALGAMATION 1
13
- #define DUCKDB_SOURCE_ID "0f8960ac3"
14
- #define DUCKDB_VERSION "0.3.2-dev658"
13
+ #define DUCKDB_SOURCE_ID "f6fb08886"
14
+ #define DUCKDB_VERSION "0.3.2-dev660"
15
15
  //===----------------------------------------------------------------------===//
16
16
  // DuckDB
17
17
  //