Skip to content

Why sqlite_orm doesn't use sqlite3_open_v2() to let it be thread-safe? #1348

Open
@yangsongx

Description

@yangsongx

I know the sqlite3_open_v2() can support the therad-safe. But it didn't be called by sqlite_orm.h

Can I just replace the sqlite3_open()/sqlite3_close() with sqlite3_open_v2()/sqlite3_close_v2() to let sqlite_orm.h be thread-safe?

Or , is the default sqlite_orm.h already be thread-safe?

(PS, I knew the sqlite3 needs to enable the ./configure --enable-threadsafe to let it support thread safe in Sqlite3 itself)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions