Skip to content

SQLITE_BUSY in KMP Project #6687

@thisisalexmcgregor

Description

@thisisalexmcgregor

Version

4.3.3

Summary

Hi!

This only happens for iOS but, in a KMP project Android is able to access an SQL DB but iOS gets the below error.

  • Enabled WAL (Write-Ahead Logging) mode for better concurrency. Didn't result in any noticeable improvement.
  • Added a new Database dispatcher with single-threaded execution (limitedParallelism(1)). No improvement that I could see.

LMK if you have any questions.

Logs

executeNonQuery error | error code SQLITE_BUSY
co.touchlab.sqliter.interop.SQLiteExceptionErrorCode: executeNonQuery error

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