diff --git a/src/core/database.cpp b/src/core/database.cpp index 1b8abe1f8..39e479519 100644 --- a/src/core/database.cpp +++ b/src/core/database.cpp @@ -280,7 +280,7 @@ void Database::StaticInit() { _sqlite3_user_data = reinterpret_cast( library.resolve("sqlite3_user_data")); - _sqlite3_open = reinterpret_cast( + _sqlite3_open = reinterpret_cast( library.resolve("sqlite3_open")); _sqlite3_errmsg = reinterpret_cast( library.resolve("sqlite3_errmsg"));