error on missing db
This commit is contained in:
parent
dcc9e899e5
commit
4bc72fcef9
@ -67,7 +67,7 @@ VARDECL sqlite3 * connection = NULL;
|
||||
DECL int
|
||||
api_init(void)
|
||||
{
|
||||
DBERR(sqlite3_open(db, &connection));
|
||||
DBERR(sqlite3_open_v2(db, &connection, SQLITE_OPEN_READONLY, NULL));
|
||||
// dont you fucking dare to remove this spacing
|
||||
DBERR(stmt_prepare(remind_stmt));
|
||||
DBERR(stmt_prepare(set_repo_stmt));
|
||||
|
Reference in New Issue
Block a user