pgSQL: fixed invalidating vulnerability cache query.

This commit is contained in:
Sida Chen 2017-08-14 16:14:55 -04:00
parent a5c6400065
commit 57a4f97780

View File

@ -413,6 +413,6 @@ func queryPersistLayer(count int) string {
func queryInvalidateVulnerabilityCache(count int) string {
return fmt.Sprintf(`DELETE FROM vulnerability_affected_feature
WHERE vulnerability_id = (%s)`,
WHERE vulnerability_id IN (%s)`,
queryString(1, count))
}