duckdb 0.8.2-dev3190.0 → 0.8.2-dev3204.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.8.2-dev3190.0",
5
+ "version": "0.8.2-dev3204.0",
6
6
  "description": "DuckDB node.js API",
7
7
  "gypfile": true,
8
8
  "dependencies": {
@@ -139,7 +139,7 @@ AdbcStatusCode DatabaseNew(struct AdbcDatabase *database, struct AdbcError *erro
139
139
  // you can't malloc a struct with a non-trivial C++ constructor
140
140
  // and std::string has a non-trivial constructor. so we need
141
141
  // to use new and delete rather than malloc and free.
142
- auto wrapper = new DuckDBAdbcDatabaseWrapper;
142
+ auto wrapper = new (std::nothrow) DuckDBAdbcDatabaseWrapper;
143
143
  if (!wrapper) {
144
144
  SetError(error, "Allocation error");
145
145
  return ADBC_STATUS_INVALID_ARGUMENT;
@@ -550,7 +550,7 @@ WindowGlobalSourceState::Task WindowGlobalSourceState::NextTask(idx_t hash_bin)
550
550
  }
551
551
 
552
552
  // Work stealing
553
- while (tasks_remaining) {
553
+ while (!context.interrupted && tasks_remaining) {
554
554
  auto result = StealWork();
555
555
  if (result.second) {
556
556
  return result;
@@ -1,8 +1,8 @@
1
1
  #ifndef DUCKDB_VERSION
2
- #define DUCKDB_VERSION "0.8.2-dev3190"
2
+ #define DUCKDB_VERSION "0.8.2-dev3204"
3
3
  #endif
4
4
  #ifndef DUCKDB_SOURCE_ID
5
- #define DUCKDB_SOURCE_ID "3196df79ce"
5
+ #define DUCKDB_SOURCE_ID "ade3443f4a"
6
6
  #endif
7
7
  #include "duckdb/function/table/system_functions.hpp"
8
8
  #include "duckdb/main/database.hpp"