-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixup after merge, now DuckDB v1.2.0
- Loading branch information
Showing
2 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
diff --git a/src/planner/binder/statement/bind_copy.cpp b/src/planner/binder/statement/bind_copy.cpp | ||
index 7db1db812d..60131d5916 100644 | ||
index ce2f93ad86..140af5ba36 100644 | ||
--- a/src/planner/binder/statement/bind_copy.cpp | ||
+++ b/src/planner/binder/statement/bind_copy.cpp | ||
@@ -137,7 +137,9 @@ BoundStatement Binder::BindCopyTo(CopyStatement &stmt) { | ||
throw NotImplementedException("Can't combine FILE_SIZE_BYTES and PARTITION_BY for COPY"); | ||
@@ -152,7 +152,9 @@ BoundStatement Binder::BindCopyTo(CopyStatement &stmt, CopyToType copy_to_type) | ||
} | ||
} | ||
bool is_remote_file = FileSystem::IsRemoteFile(stmt.info->file_path); | ||
- if (is_remote_file) { | ||
+ if ( is_remote_file ) { | ||
+ use_tmp_file = false; | ||
+ } else if( config.options.use_direct_io ) { | ||
+ } else if( context.db->config.options.use_direct_io ) { | ||
use_tmp_file = false; | ||
} else { | ||
auto &fs = FileSystem::GetFileSystem(context); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters