From b065526b7eae842997765523f3223138f59f3ab3 Mon Sep 17 00:00:00 2001 From: Christian Beer Date: Thu, 15 Sep 2016 13:20:24 +0200 Subject: [PATCH] Validator: add res.workunitid so it can be used in the custom handler --- db/boinc_db.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/db/boinc_db.cpp b/db/boinc_db.cpp index ad20901278..f945b9747d 100644 --- a/db/boinc_db.cpp +++ b/db/boinc_db.cpp @@ -1765,6 +1765,7 @@ void VALIDATOR_ITEM::parse(MYSQL_ROW& r) { wu.rsc_fpops_bound = atof(r[i++]); res.id = atol(r[i++]); + res.workunitid = atol(r[i++]); strcpy2(res.name, r[i++]); res.validate_state = atoi(r[i++]); res.server_state = atoi(r[i++]); @@ -1847,6 +1848,7 @@ int DB_VALIDATOR_ITEM_SET::enumerate( " wu.rsc_fpops_est, " " wu.rsc_fpops_bound, " " res.id, " + " res.workunitid, " " res.name, " " res.validate_state, " " res.server_state, "