Skip to content

Bug in FileOutputBuffer.cpp ? #134530

Open
Open
@chestnykh

Description

@chestnykh

In 6814232#diff-149a9a5aa83dbeebf5b0d6e1ead08df05664cd4f201fc02ed749555278406d41

the following code was added:

    if (Flags & F_no_mmap)
      return createInMemoryBuffer(Path, Size, Mode);
    else
      return createOnDiskBuffer(Path, Size, Mode);

But createInMemoryBuffer uses mmap and if i correct we have to use createOnDiskBuffer in case F_no_mmap is set

CC: @terrelln @MaskRay

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions