duckdb 0.3.5-dev1256.0 → 0.3.5-dev1272.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 +2 -2
- package/src/duckdb.hpp +22 -6
- package/src/parquet-amalgamation.cpp +35076 -35076
package/package.json
CHANGED
package/src/duckdb.cpp
CHANGED
|
@@ -125675,7 +125675,7 @@ void ExtensionHelper::InstallExtension(DatabaseInstance &db, const string &exten
|
|
|
125675
125675
|
#ifndef _WIN32
|
|
125676
125676
|
#include <dlfcn.h>
|
|
125677
125677
|
#else
|
|
125678
|
-
#define
|
|
125678
|
+
#define RTLD_NOW 0
|
|
125679
125679
|
#define RTLD_LOCAL 0
|
|
125680
125680
|
#endif
|
|
125681
125681
|
|
|
@@ -125746,7 +125746,7 @@ void ExtensionHelper::LoadExternalExtension(DatabaseInstance &db, const string &
|
|
|
125746
125746
|
if (!fs.FileExists(filename)) {
|
|
125747
125747
|
throw IOException("File \"%s\" not found", filename);
|
|
125748
125748
|
}
|
|
125749
|
-
auto lib_hdl = dlopen(filename.c_str(),
|
|
125749
|
+
auto lib_hdl = dlopen(filename.c_str(), RTLD_NOW | RTLD_LOCAL);
|
|
125750
125750
|
if (!lib_hdl) {
|
|
125751
125751
|
throw IOException("File \"%s\" could not be loaded: %s", filename, GetDLError());
|
|
125752
125752
|
}
|
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.5-
|
|
14
|
+
#define DUCKDB_SOURCE_ID "2000fbe90"
|
|
15
|
+
#define DUCKDB_VERSION "v0.3.5-dev1272"
|
|
16
16
|
//===----------------------------------------------------------------------===//
|
|
17
17
|
// DuckDB
|
|
18
18
|
//
|
|
@@ -102,7 +102,7 @@ using std::string;
|
|
|
102
102
|
#define DUCKDB_EXTENSION_API
|
|
103
103
|
#endif
|
|
104
104
|
#else
|
|
105
|
-
#define DUCKDB_EXTENSION_API
|
|
105
|
+
#define DUCKDB_EXTENSION_API __attribute__((visibility("default")))
|
|
106
106
|
#endif
|
|
107
107
|
#endif
|
|
108
108
|
|
|
@@ -15382,6 +15382,19 @@ using std::deque;
|
|
|
15382
15382
|
#endif
|
|
15383
15383
|
#endif
|
|
15384
15384
|
|
|
15385
|
+
// duplicate of duckdb/main/winapi.hpp
|
|
15386
|
+
#ifndef DUCKDB_EXTENSION_API
|
|
15387
|
+
#ifdef _WIN32
|
|
15388
|
+
#ifdef DUCKDB_BUILD_LOADABLE_EXTENSION
|
|
15389
|
+
#define DUCKDB_EXTENSION_API __declspec(dllexport)
|
|
15390
|
+
#else
|
|
15391
|
+
#define DUCKDB_EXTENSION_API
|
|
15392
|
+
#endif
|
|
15393
|
+
#else
|
|
15394
|
+
#define DUCKDB_EXTENSION_API __attribute__((visibility("default")))
|
|
15395
|
+
#endif
|
|
15396
|
+
#endif
|
|
15397
|
+
|
|
15385
15398
|
// duplicate of duckdb/common/constants.hpp
|
|
15386
15399
|
#ifndef DUCKDB_API_0_3_1
|
|
15387
15400
|
#define DUCKDB_API_0_3_1 1
|
|
@@ -18338,9 +18351,12 @@ private:
|
|
|
18338
18351
|
|
|
18339
18352
|
class Allocator {
|
|
18340
18353
|
public:
|
|
18341
|
-
Allocator();
|
|
18342
|
-
Allocator(allocate_function_ptr_t allocate_function_p, free_function_ptr_t free_function_p,
|
|
18343
|
-
|
|
18354
|
+
DUCKDB_API Allocator();
|
|
18355
|
+
DUCKDB_API Allocator(allocate_function_ptr_t allocate_function_p, free_function_ptr_t free_function_p,
|
|
18356
|
+
reallocate_function_ptr_t reallocate_function_p,
|
|
18357
|
+
unique_ptr<PrivateAllocatorData> private_data);
|
|
18358
|
+
|
|
18359
|
+
DUCKDB_API Allocator &operator=(Allocator &&allocator) noexcept = default;
|
|
18344
18360
|
|
|
18345
18361
|
data_ptr_t AllocateData(idx_t size);
|
|
18346
18362
|
void FreeData(data_ptr_t pointer, idx_t size);
|