Skip to content

Commit

Permalink
pgSQL: fixed invalidating vulnerability cache query.
Browse files Browse the repository at this point in the history
  • Loading branch information
KeyboardNerd committed Aug 14, 2017
1 parent a5c6400 commit 57a4f97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/pgsql/queries.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}

0 comments on commit 57a4f97

Please sign in to comment.