- scheduler: typo in a SQL query

svn path=/trunk/boinc/; revision=24498
This commit is contained in:
David Anderson 2011-10-26 22:05:50 +00:00
parent dd1b4df668
commit 2371bd641a
2 changed files with 7 additions and 1 deletions

View File

@ -7869,3 +7869,9 @@ David 26 Oct 2011
client/ client/
client_types.cpp client_types.cpp
David 26 Oct 2011
- scheduler: typo in a SQL query
sched/
sched_send.cpp

View File

@ -948,7 +948,7 @@ int update_wu_on_send(WORKUNIT wu, time_t x, APP& app, BEST_APP_VERSION& bav) {
if (app.homogeneous_app_version && wu.app_version_id==0) { if (app.homogeneous_app_version && wu.app_version_id==0) {
sprintf(buf2, ", app_version_id=%d", bav.avp->id); sprintf(buf2, ", app_version_id=%d", bav.avp->id);
strcat(buf, buf2); strcat(buf, buf2);
strcpy(where_clause, "app_version_id==0"); strcpy(where_clause, "app_version_id=0");
} }
if (app_hr_type(app) && wu.hr_class==0) { if (app_hr_type(app) && wu.hr_class==0) {
int host_hr_class = hr_class(g_request->host, app_hr_type(app)); int host_hr_class = hr_class(g_request->host, app_hr_type(app));