mirror of https://github.com/BOINC/boinc.git
Validator: add res.workunitid so it can be used in the custom handler
This commit is contained in:
parent
2715c5b8a7
commit
b065526b7e
|
@ -1765,6 +1765,7 @@ void VALIDATOR_ITEM::parse(MYSQL_ROW& r) {
|
||||||
wu.rsc_fpops_bound = atof(r[i++]);
|
wu.rsc_fpops_bound = atof(r[i++]);
|
||||||
|
|
||||||
res.id = atol(r[i++]);
|
res.id = atol(r[i++]);
|
||||||
|
res.workunitid = atol(r[i++]);
|
||||||
strcpy2(res.name, r[i++]);
|
strcpy2(res.name, r[i++]);
|
||||||
res.validate_state = atoi(r[i++]);
|
res.validate_state = atoi(r[i++]);
|
||||||
res.server_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_est, "
|
||||||
" wu.rsc_fpops_bound, "
|
" wu.rsc_fpops_bound, "
|
||||||
" res.id, "
|
" res.id, "
|
||||||
|
" res.workunitid, "
|
||||||
" res.name, "
|
" res.name, "
|
||||||
" res.validate_state, "
|
" res.validate_state, "
|
||||||
" res.server_state, "
|
" res.server_state, "
|
||||||
|
|
Loading…
Reference in New Issue