fixed MACRO blunder

This commit is contained in:
anon 2023-08-04 15:53:12 +02:00
parent 0e744bae5f
commit 175126808b

View File

@ -67,7 +67,7 @@ VARDECL sqlite3 * connection = NULL;
DECL int
api_init(void)
{
DBERR(sqlite3_open_v2(db, &connection, SQLITE_OPEN_READONLY, NULL));
DBERR(sqlite3_open_v2(db, &connection, SQLITE_OPEN_READWRITE, NULL));
// dont you fucking dare to remove this spacing
DBERR(stmt_prepare(remind_stmt));
DBERR(stmt_prepare(set_repo_stmt));