duckdb 0.3.3-dev575.0 → 0.3.3-dev579.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.3-dev575.0",
4
+ "version": "0.3.3-dev579.0",
5
5
  "description": "DuckDB node.js API",
6
6
  "gypfile": true,
7
7
  "dependencies": {
package/src/duckdb.cpp CHANGED
@@ -99133,7 +99133,8 @@ void PragmaDatabaseSizeFunction(ClientContext &context, const FunctionData *bind
99133
99133
  auto free_blocks = block_manager.FreeBlocks();
99134
99134
  auto used_blocks = total_blocks - free_blocks;
99135
99135
  auto bytes = (total_blocks * block_size);
99136
- auto wal_size = storage.GetWriteAheadLog()->GetWALSize();
99136
+ auto wal = storage.GetWriteAheadLog();
99137
+ auto wal_size = wal ? wal->GetWALSize() : 0;
99137
99138
  output.data[0].SetValue(0, Value(StringUtil::BytesToHumanReadableString(bytes)));
99138
99139
  output.data[1].SetValue(0, Value::BIGINT(block_size));
99139
99140
  output.data[2].SetValue(0, Value::BIGINT(total_blocks));
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 "12c852719"
15
- #define DUCKDB_VERSION "v0.3.3-dev575"
14
+ #define DUCKDB_SOURCE_ID "517c5e9de"
15
+ #define DUCKDB_VERSION "v0.3.3-dev579"
16
16
  //===----------------------------------------------------------------------===//
17
17
  // DuckDB
18
18
  //