Skip to content

Commit d8ca9ec

Browse files
committed
Fix build?
1 parent bfca7c8 commit d8ca9ec

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

external/duckdb

Submodule duckdb updated 306 files

src/duckdb_py/pyconnection.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ void DuckDBPyConnection::UnregisterFilesystem(const py::str &name) {
296296
auto &database = con.GetDatabase();
297297
auto &fs = database.GetFileSystem();
298298

299-
fs.UnregisterSubSystem(name);
299+
fs.ExtractSubSystem(name);
300300
}
301301

302302
void DuckDBPyConnection::RegisterFilesystem(AbstractFileSystem filesystem) {

src/duckdb_py/python_replacement_scan.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#include "duckdb_python/python_replacement_scan.hpp"
2-
32
#include "duckdb/main/db_instance_cache.hpp"
4-
53
#include "duckdb_python/pybind11/pybind_wrapper.hpp"
64
#include "duckdb/main/client_properties.hpp"
75
#include "duckdb_python/numpy/numpy_type.hpp"
@@ -14,6 +12,7 @@
1412
#include "duckdb_python/pandas/pandas_scan.hpp"
1513
#include "duckdb/parser/tableref/subqueryref.hpp"
1614
#include "duckdb_python/pyrelation.hpp"
15+
#include <duckdb/main/settings.hpp>
1716

1817
namespace duckdb {
1918

@@ -299,7 +298,7 @@ unique_ptr<TableRef> PythonReplacementScan::Replace(ClientContext &context, Repl
299298
optional_ptr<ReplacementScanData> data) {
300299
auto &table_name = input.table_name;
301300
auto &config = DBConfig::GetConfig(context);
302-
if (!config.options.enable_external_access) {
301+
if (!Settings::Get<EnableExternalAccessSetting>(config)) {
303302
return nullptr;
304303
}
305304

0 commit comments

Comments
 (0)