Skip to content

Commit

Permalink
ovsqlite-util: Fix the check for high water marks
Browse files Browse the repository at this point in the history
Just ensure that the high water mark of a newsgroup is higher than
each article number within this newsgroup, and not equal to the highest
article number.  (The corresponding article may have been cancelled.)
  • Loading branch information
Julien-Elie committed Apr 15, 2023
1 parent edcfdb5 commit a130d65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/ovsqlite/ovsqlite-util.in
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ insert into repairs
expired, groupname, flag_alias)
select groupid,
new_low, new_low != low as low_was_bad,
new_high, new_high != high as high_was_bad,
new_high, new_high > high as high_was_bad,
new_count, new_count != "count" as count_was_bad,
expired, groupname, flag_alias
from new_stats
Expand Down

0 comments on commit a130d65

Please sign in to comment.