From 8b5b765bb7fd3db0c053b3d6897632294a87403a Mon Sep 17 00:00:00 2001 From: Bernd Machenschalk Date: Wed, 9 May 2012 08:04:21 +0000 Subject: [PATCH] scheduler: get app_version info for validator items svn path=/trunk/boinc/; revision=25658 --- checkin_notes | 8 ++++++++ db/boinc_db.cpp | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/checkin_notes b/checkin_notes index 046247ba66..0b51371a5f 100644 --- a/checkin_notes +++ b/checkin_notes @@ -3743,3 +3743,11 @@ Bernd 8 May 2012 sched/ plan_class_spec.cpp +Bernd 9 May 2012 + - scheduler: get app_version info for validator items + + db/ + boinc_db.cpp + + + diff --git a/db/boinc_db.cpp b/db/boinc_db.cpp index 9fcd91aaac..a6cc27362b 100644 --- a/db/boinc_db.cpp +++ b/db/boinc_db.cpp @@ -1526,6 +1526,8 @@ void VALIDATOR_ITEM::parse(MYSQL_ROW& r) { res.sent_time = atoi(r[i++]); res.received_time = atoi(r[i++]); res.appid = atoi(r[i++]); + res.app_version_id = atoi(r[i++]); + res.app_version_num = atoi(r[i++]); res.elapsed_time = atof(r[i++]); res.flops_estimate = atof(r[i++]); res.app_version_id = atoi(r[i++]); @@ -1587,6 +1589,8 @@ int DB_VALIDATOR_ITEM_SET::enumerate( " res.sent_time, " " res.received_time, " " res.appid, " + " res.app_version_id, " + " res.app_version_num, " " res.elapsed_time, " " res.flops_estimate, " " res.app_version_id, "