Fix version queries.

Add month to WHERE clause, use bind values.

Signed-off-by: Thomas Hochstein <thh@thh.name>
This commit is contained in:
Thomas Hochstein 2025-05-31 09:38:41 +02:00
parent 07e4543717
commit d02ae5e2ff
2 changed files with 9 additions and 4 deletions

View file

@ -12,6 +12,7 @@ NewsStats 0.4.0 (unreleased)
* DBClnts: set version length to 50.
* gatherstats: Truncate overlong clients or versions.
* gatherstats: Remove whitespace from client and version.
* Fix version queries.
NewsStats 0.3.0 (2025-05-18)
* Extract GroupStats (in gatherstats) to subroutine.