Skip to content

Commit 841a1f6

Browse files
committed
Fixup IsRemoteFile patch
1 parent 9f081ca commit 841a1f6

File tree

2 files changed

+13
-30
lines changed

2 files changed

+13
-30
lines changed

duckdb_patches/is_remote_file.absorbed.patch

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,16 @@ index 2c2b76a0fc..2d835441c2 100644
5050
// get the database type and attach the database
5151
db_manager.GetDatabaseType(context.client, db_type, *info, config, unrecognized_option);
5252
auto attached_db = db_manager.AttachDatabase(context.client, *info, db_type, access_mode);
53+
diff --git a/src/include/duckdb/common/file_system.hpp b/src/include/duckdb/common/file_system.hpp
54+
index e0df2f70c2..e1ec953917 100644
55+
--- a/src/include/duckdb/common/file_system.hpp
56+
+++ b/src/include/duckdb/common/file_system.hpp
57+
@@ -238,6 +238,8 @@ public:
58+
59+
//! Whether or not a file is remote or local, based only on file path
60+
DUCKDB_API static bool IsRemoteFile(const string &path);
61+
+ DUCKDB_API static bool IsRemoteFile(const string &path, string &extension);
62+
+
63+
64+
DUCKDB_API virtual void SetDisabledFileSystems(const vector<string> &names);
65+

duckdb_patches/remote_attach.partial.patch

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)