Validator: add res.workunitid so it can be used in the custom handler

This commit is contained in:
Christian Beer 2016-09-15 13:20:24 +02:00
parent 2715c5b8a7
commit b065526b7e
1 changed files with 2 additions and 0 deletions

View File

@ -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, "