From a3368bbf650deb2abec026034f2238c4a2e48d66 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 16 Dec 2004 21:58:10 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=4867 --- db/boinc_db.C | 4 +++- db/boinc_db.h | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) 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&); };