pruge assignments
This commit is contained in:
parent
cd30d51462
commit
1c791c3e6e
@ -178,3 +178,10 @@ random_assign(const char * const who){
|
||||
i = get_nth_id(i);
|
||||
new_assignment(who, i);
|
||||
}
|
||||
|
||||
DECL void
|
||||
purge_assignments(const char * const who){
|
||||
DBERR(sqlite3_reset(purge_assignments_stmt));
|
||||
DBERR(sqlite3_bind_text(purge_assignments_stmt, 1, who, -1, SQLITE_STATIC));
|
||||
DBERR(sqlite3_step(purge_assignments_stmt));
|
||||
}
|
||||
|
Reference in New Issue
Block a user