scheduler: get app_version info for validator items

svn path=/trunk/boinc/; revision=25658
This commit is contained in:
Bernd Machenschalk 2012-05-09 08:04:21 +00:00
parent 84a53855ad
commit 8b5b765bb7
2 changed files with 12 additions and 0 deletions

View File

@ -3743,3 +3743,11 @@ Bernd 8 May 2012
sched/ sched/
plan_class_spec.cpp plan_class_spec.cpp
Bernd 9 May 2012
- scheduler: get app_version info for validator items
db/
boinc_db.cpp

View File

@ -1526,6 +1526,8 @@ void VALIDATOR_ITEM::parse(MYSQL_ROW& r) {
res.sent_time = atoi(r[i++]); res.sent_time = atoi(r[i++]);
res.received_time = atoi(r[i++]); res.received_time = atoi(r[i++]);
res.appid = 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.elapsed_time = atof(r[i++]);
res.flops_estimate = atof(r[i++]); res.flops_estimate = atof(r[i++]);
res.app_version_id = atoi(r[i++]); res.app_version_id = atoi(r[i++]);
@ -1587,6 +1589,8 @@ int DB_VALIDATOR_ITEM_SET::enumerate(
" res.sent_time, " " res.sent_time, "
" res.received_time, " " res.received_time, "
" res.appid, " " res.appid, "
" res.app_version_id, "
" res.app_version_num, "
" res.elapsed_time, " " res.elapsed_time, "
" res.flops_estimate, " " res.flops_estimate, "
" res.app_version_id, " " res.app_version_id, "