*** empty log message ***

svn path=/trunk/boinc/; revision=2136
This commit is contained in:
Karl Chen 2003-08-18 19:07:02 +00:00
parent 18007f915a
commit 76d0c08ce0
3 changed files with 15 additions and 7 deletions

View File

@ -5829,3 +5829,10 @@ Eric K 8/15/2003
- Prefaced transform() with std:: to get util.C to compile under windows. - Prefaced transform() with std:: to get util.C to compile under windows.
api/util.C api/util.C
Karl 2003/08/18
- scheduler bug fixes
sched/
transitioner.C
make_work.C

View File

@ -220,6 +220,7 @@ void make_work() {
wu.max_success_results = max_success_results; wu.max_success_results = max_success_results;
strcpy(wu.result_template, result_template); strcpy(wu.result_template, result_template);
process_result_template_upload_url_only(wu.result_template, config.upload_url); process_result_template_upload_url_only(wu.result_template, config.upload_url);
wu.transition_time = time(0);
retval = wu.insert(); retval = wu.insert();
wu.id = boinc_db_insert_id(); wu.id = boinc_db_insert_id();
log_messages.printf(SchedMessages::DEBUG, "[%s] Created new WU\n", wu.name); log_messages.printf(SchedMessages::DEBUG, "[%s] Created new WU\n", wu.name);

View File

@ -68,13 +68,13 @@ void handle_wu(DB_WORKUNIT& wu) {
results.push_back(result); results.push_back(result);
} }
if (results.size() == 0) { // if (results.size() == 0) {
log_messages.printf( // log_messages.printf(
SchedMessages::NORMAL, "[WU#%d %s] No results\n", // SchedMessages::NORMAL, "[WU#%d %s] No results\n",
wu.id, wu.name // wu.id, wu.name
); // );
return; // return;
} // }
log_messages.printf(SchedMessages::DEBUG, log_messages.printf(SchedMessages::DEBUG,
"[WU#%d %s] enumerated %d results\n", "[WU#%d %s] enumerated %d results\n",