diff --git a/db/boinc_db.C b/db/boinc_db.C index 8f798862a2..37f1c9a204 100644 --- a/db/boinc_db.C +++ b/db/boinc_db.C @@ -680,6 +680,7 @@ void TRANSITIONER_ITEM::parse(MYSQL_ROW& r) { res_validate_state = safe_atoi(r[i++]); res_file_delete_state = safe_atoi(r[i++]); res_sent_time = safe_atoi(r[i++]); + res_hostid = safe_atoi(r[i++]); } int DB_TRANSITIONER_ITEM_SET::enumerate( @@ -721,7 +722,8 @@ int DB_TRANSITIONER_ITEM_SET::enumerate( " res.outcome, " " res.validate_state, " " res.file_delete_state, " - " res.sent_time " + " res.sent_time, " + " res.hostid " "FROM " " workunit AS wu " " LEFT JOIN result AS res ON wu.id = res.workunitid " diff --git a/db/boinc_db.h b/db/boinc_db.h index dcc36bac62..c3f2ed8e4c 100755 --- a/db/boinc_db.h +++ b/db/boinc_db.h @@ -470,6 +470,8 @@ struct TRANSITIONER_ITEM { int res_validate_state; int res_file_delete_state; int res_sent_time; + int res_hostid; + void clear(); void parse(MYSQL_ROW&); };