Merge branch 'master' of lain.church:emil/probotic

This commit is contained in:
Emil 2023-08-04 07:53:37 -06:00
commit 662ff18a28

View File

@ -67,7 +67,7 @@ VARDECL sqlite3 * connection = NULL;
DECL int DECL int
api_init(void) 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 // dont you fucking dare to remove this spacing
DBERR(stmt_prepare(remind_stmt)); DBERR(stmt_prepare(remind_stmt));
DBERR(stmt_prepare(set_repo_stmt)); DBERR(stmt_prepare(set_repo_stmt));