svn path=/trunk/boinc/; revision=15671
This commit is contained in:
Eric J. Korpela 2008-07-25 01:42:23 +00:00
parent 85fe380486
commit 8da770569f
1 changed files with 1 additions and 1 deletions

View File

@ -948,7 +948,7 @@ void DB_CREDIT_MULTIPLIER::get_nearest(int Appid, int Time) {
appid=Appid;
snprintf(query,MAX_QUERY_LEN,
"select * from credit_multiplier where appid=%d and"
"select * from credit_multiplier where appid=%d and "
"abs(time-%d)=("
"select min(abs(time-%d)) from credit_multiplier where appid=%d"
") limit 1",