Compare commits
No commits in common. "370294ddb80163578bb34c28c3be63d9fb2ec66d" and "375b92e487ac313f85ba33d260a2ea6bfa2dbd9f" have entirely different histories.
370294ddb8
...
375b92e487
@ -30,7 +30,8 @@ static const char dump_stmt[] =
|
||||
static sqlite3_stmt* get_nth_id_stmt;
|
||||
static const char get_nth_id_stmt_template[] =
|
||||
"SELECT rowid "
|
||||
"FROM project "
|
||||
"LIMIT 1 "
|
||||
"OFFSET ?;"
|
||||
"FROM projects "
|
||||
"WHERE"
|
||||
"LIMIT 1 "
|
||||
"OFFSET ?;"
|
||||
;
|
||||
|
@ -35,17 +35,17 @@ api_init(void)
|
||||
DBERR(sqlite3_open(DBFILE, &connection));
|
||||
DBERR(stmt_prepare(remind_stmt));
|
||||
DBERR(stmt_prepare(set_repo_stmt));
|
||||
DBERR(stmt_prepare(get_nth_id_stmt));
|
||||
DBERR(stmt_prepare(get_nth_id_stmt));
|
||||
return 0;
|
||||
}
|
||||
|
||||
DECL void
|
||||
api_rope(void)
|
||||
{
|
||||
DBERR(sqlite3_finalize(remind_stmt));
|
||||
DBERR(sqlite3_finalize(remind_stmt));
|
||||
DBERR(sqlite3_finalize(set_repo_stmt));
|
||||
DBERR(sqlite3_finalize(get_nth_id_stmt));
|
||||
sqlite3_close(connection);
|
||||
sqlite3_close(connection);
|
||||
}
|
||||
|
||||
DECL void
|
||||
|
Reference in New Issue
Block a user