Skip to content

Should this open with SQLITE_OPEN_FULLMUTEX? #25

@TheKeeperOfPie

Description

@TheKeeperOfPie

It looks like Android's framework SQLite is thread safe (this defaults to true) using the serialized mode, which corresponds to SQLITE_OPEN_FULLMUTEX.

I have a 2 tab UI which runs SQLDelight's OffsetQueryPagingSource in parallel for 2 paged lists, and a direct swap from the SQLDelight AndroidSqliteDriver to this library's causes a crash on this screen.

Let me know if you need more specifics. Even if this isn't made the default mode, I think the README should clarify that it doesn't support any multi-threading by default and that it differs from the framework.

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