mirror of https://github.com/BOINC/boinc.git
parent
3129faa5a5
commit
bf56e80bce
|
@ -6285,3 +6285,11 @@ David 28 Aug 2010
|
|||
client/
|
||||
app_control.cpp
|
||||
cpu_sched.cpp
|
||||
|
||||
David 29 Aug 2010
|
||||
- tweaks
|
||||
|
||||
db/
|
||||
boinc_db.cpp
|
||||
tools/
|
||||
backend_lib.cpp
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
#include <ieeefp.h>
|
||||
#endif
|
||||
|
||||
#include "common_defs.h"
|
||||
#include "str_util.h"
|
||||
#include "str_replace.h"
|
||||
#include "util.h"
|
||||
|
@ -1960,8 +1961,10 @@ int DB_SCHED_RESULT_ITEM_SET::update_workunits() {
|
|||
(int)time(0)
|
||||
);
|
||||
for (i=0; i<results.size(); i++) {
|
||||
if (results[i].id == 0) continue; // skip non-updated results
|
||||
if (strstr(results[i].name, "asgn")) continue; // skip assigned jobs
|
||||
if (results[i].id == 0) continue;
|
||||
// skip non-updated results
|
||||
if (strstr(results[i].name, ASSIGNED_WU_STR)) continue;
|
||||
// skip assigned jobs
|
||||
if (!first) strcat(query, ",");
|
||||
first = false;
|
||||
sprintf(buf, "%d", results[i].workunitid);
|
||||
|
|
|
@ -441,7 +441,9 @@ int create_result_ti(
|
|||
}
|
||||
|
||||
// Create a new result for the given WU.
|
||||
// This is called ONLY from the transitioner
|
||||
// This is called from:
|
||||
// - the transitioner
|
||||
// - the scheduler (for assigned jobs)
|
||||
//
|
||||
int create_result(
|
||||
WORKUNIT& wu,
|
||||
|
|
Loading…
Reference in New Issue