Skip to content

Implement SQLITE_FCNTL_VFSNAME #525

@rogerbinns

Description

@rogerbinns

See discussion.

In theory APSWVFSFile can have an extra data member with a copy of the name of the inherited vfs filled in in the xOpen method and the VFSFile constructor.

The default fcntl implementation can implement the file control for SQLITE_FCNTL_VFSNAME, although there is the question about what to do if fcntl is explicitly implemented, like handling pragmas in the example code.

Since SQLITE_FCNTL_VFSNAME is a diagnostic control, it would seem to be perfectly reasonable for APSW to handle fully internally and not do any Python code callbacks.

The shell .vfsname method also needs fixing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions