duckdb 0.3.3-dev288.0 → 0.3.3-dev351.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 +1 -1
- package/src/duckdb.cpp +5769 -4781
- package/src/duckdb.hpp +6 -6
- package/src/parquet-amalgamation.cpp +31082 -31078
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 "
|
|
15
|
-
#define DUCKDB_VERSION "v0.3.3-
|
|
14
|
+
#define DUCKDB_SOURCE_ID "27b9f52d6"
|
|
15
|
+
#define DUCKDB_VERSION "v0.3.3-dev351"
|
|
16
16
|
//===----------------------------------------------------------------------===//
|
|
17
17
|
// DuckDB
|
|
18
18
|
//
|
|
@@ -14582,13 +14582,13 @@ class FileBuffer;
|
|
|
14582
14582
|
class BufferHandle {
|
|
14583
14583
|
public:
|
|
14584
14584
|
BufferHandle(shared_ptr<BlockHandle> handle, FileBuffer *node);
|
|
14585
|
-
~BufferHandle();
|
|
14585
|
+
DUCKDB_API ~BufferHandle();
|
|
14586
14586
|
|
|
14587
14587
|
//! The block handle
|
|
14588
14588
|
shared_ptr<BlockHandle> handle;
|
|
14589
14589
|
//! The managed buffer node
|
|
14590
14590
|
FileBuffer *node;
|
|
14591
|
-
data_ptr_t Ptr();
|
|
14591
|
+
DUCKDB_API data_ptr_t Ptr();
|
|
14592
14592
|
};
|
|
14593
14593
|
|
|
14594
14594
|
} // namespace duckdb
|
|
@@ -19431,7 +19431,7 @@ public:
|
|
|
19431
19431
|
|
|
19432
19432
|
//! Allocate an in-memory buffer with a single pin.
|
|
19433
19433
|
//! The allocated memory is released when the buffer handle is destroyed.
|
|
19434
|
-
unique_ptr<BufferHandle> Allocate(idx_t block_size);
|
|
19434
|
+
DUCKDB_API unique_ptr<BufferHandle> Allocate(idx_t block_size);
|
|
19435
19435
|
|
|
19436
19436
|
//! Reallocate an in-memory buffer that is pinned.
|
|
19437
19437
|
void ReAllocate(shared_ptr<BlockHandle> &handle, idx_t block_size);
|
|
@@ -19446,7 +19446,7 @@ public:
|
|
|
19446
19446
|
void SetLimit(idx_t limit = (idx_t)-1);
|
|
19447
19447
|
|
|
19448
19448
|
static BufferManager &GetBufferManager(ClientContext &context);
|
|
19449
|
-
static BufferManager &GetBufferManager(DatabaseInstance &db);
|
|
19449
|
+
DUCKDB_API static BufferManager &GetBufferManager(DatabaseInstance &db);
|
|
19450
19450
|
|
|
19451
19451
|
idx_t GetUsedMemory() {
|
|
19452
19452
|
return current_memory;
|