Skip to content

Detect SQLITE database locked #3895

@IIFE

Description

@IIFE

What would you like help with?

Hi,

Is there an explicit error code that would allow me to detect when a SQLITE update/insert fails because the database is locked? Currently I'm checking if the message field from AdbcError ends with database is locked, but that feels brittle.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions