diff --git a/db/boinc_db.C b/db/boinc_db.C index f4602841c9..61eb86bcca 100644 --- a/db/boinc_db.C +++ b/db/boinc_db.C @@ -868,7 +868,7 @@ int DB_VALIDATOR_ITEM_SET::enumerate( if (wu_id_modulus) { sprintf(mod_clause, - " and id %% %d = %d ", + " and wu.id %% %d = %d ", wu_id_modulus, wu_id_remainder ); } else {