duckdb 0.3.5-dev1250.0 → 0.3.5-dev1263.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 +5 -2
- package/src/duckdb.hpp +16 -3
- package/src/parquet-amalgamation.cpp +36782 -36782
package/package.json
CHANGED
package/src/duckdb.cpp
CHANGED
|
@@ -4185,6 +4185,9 @@ string TableCatalogEntry::ToSQL() {
|
|
|
4185
4185
|
if (column.DefaultValue()) {
|
|
4186
4186
|
ss << " DEFAULT(" << column.DefaultValue()->ToString() << ")";
|
|
4187
4187
|
}
|
|
4188
|
+
if (column.Generated()) {
|
|
4189
|
+
ss << " GENERATED ALWAYS AS(" << column.GeneratedExpression().ToString() << ")";
|
|
4190
|
+
}
|
|
4188
4191
|
}
|
|
4189
4192
|
// print any extra constraints that still need to be printed
|
|
4190
4193
|
for (auto &extra_constraint : extra_constraints) {
|
|
@@ -125672,7 +125675,7 @@ void ExtensionHelper::InstallExtension(DatabaseInstance &db, const string &exten
|
|
|
125672
125675
|
#ifndef _WIN32
|
|
125673
125676
|
#include <dlfcn.h>
|
|
125674
125677
|
#else
|
|
125675
|
-
#define
|
|
125678
|
+
#define RTLD_NOW 0
|
|
125676
125679
|
#define RTLD_LOCAL 0
|
|
125677
125680
|
#endif
|
|
125678
125681
|
|
|
@@ -125743,7 +125746,7 @@ void ExtensionHelper::LoadExternalExtension(DatabaseInstance &db, const string &
|
|
|
125743
125746
|
if (!fs.FileExists(filename)) {
|
|
125744
125747
|
throw IOException("File \"%s\" not found", filename);
|
|
125745
125748
|
}
|
|
125746
|
-
auto lib_hdl = dlopen(filename.c_str(),
|
|
125749
|
+
auto lib_hdl = dlopen(filename.c_str(), RTLD_NOW | RTLD_LOCAL);
|
|
125747
125750
|
if (!lib_hdl) {
|
|
125748
125751
|
throw IOException("File \"%s\" could not be loaded: %s", filename, GetDLError());
|
|
125749
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 "ed4106cc8"
|
|
15
|
+
#define DUCKDB_VERSION "v0.3.5-dev1263"
|
|
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
|