Skip to content

DBInterface.@prepare is not threadsafe #51

@mattwigway

Description

@mattwigway

DBInterface.@prepare uses a global Dict on DBInterface that stores prepared statements for all connections. I think this means that DBInterface.@prepare is not threadsafe even if the different connections are being used in different threads, because modification of Julia dicts is not threadsafe.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions