- feeder: fix crashing bug

svn path=/branches/server_stable/; revision=19508
This commit is contained in:
David Anderson 2009-11-06 23:31:26 +00:00
parent 5bf5e10368
commit 53aa10570a
2 changed files with 8 additions and 1 deletions

View File

@ -8889,3 +8889,10 @@ Rom 4 Nov 2009
client
cs_platforms.cpp
David 6 Nov 2009
- feeder: fix crashing bug
db/
boinc_db.cpp

View File

@ -1510,7 +1510,7 @@ int DB_WORK_ITEM::enumerate_all(
// (historical reasons)
//
sprintf(query,
"select high_priority r1.id, r1.priority, workunit.* from result r1 force index(ind_res_st), workunit force index(primary)"
"select high_priority r1.id, r1.priority, r1.server_state, r1.report_deadline, workunit.* from result r1 force index(ind_res_st), workunit force index(primary)"
" where r1.server_state=%d and r1.workunitid=workunit.id and r1.id>%d "
" %s "
"limit %d",