Skip to content

Commit

Permalink
Fixup 'More properly handle FileFlags'
Browse files Browse the repository at this point in the history
  • Loading branch information
carlopi committed Dec 9, 2024
1 parent 039ad78 commit 3f3a20d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/src/io/memory_filesystem.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ MemoryFileSystem::FileBuffer::FileBuffer(size_t id, std::string path, std::vecto
: file_id(id), file_path(std::move(path)), buffer(std::move(buffer)), handles() {}
/// Constructor
MemoryFileSystem::FileHandle::FileHandle(MemoryFileSystem &file_system, FileBuffer &buffer, size_t position)
: duckdb::FileHandle(file_system, buffer.file_path, FileFlags::FILE_FLAGS_WRITE | FileFlags::FILE_FLAGS_FILE_CREATE),
: duckdb::FileHandle(file_system, buffer.file_path,
FileFlags::FILE_FLAGS_WRITE | FileFlags::FILE_FLAGS_FILE_CREATE),
file_system_(file_system),
buffer_(buffer),
position_(position) {}
Expand Down

0 comments on commit 3f3a20d

Please sign in to comment.