[InterNetNews/inn] d9b492: hissqlite: Report remembered entries as not found ...

Kevin Bowling noreply at github.com
Tue Jul 14 15:55:36 UTC 2026


  Branch: refs/heads/main
  Home:   https://github.com/InterNetNews/inn
  Commit: d9b492ae353bc2d86f4dc217ff66d2c8ccb2471f
      https://github.com/InterNetNews/inn/commit/d9b492ae353bc2d86f4dc217ff66d2c8ccb2471f
  Author: Kevin Bowling <kevin.bowling at kev009.com>
  Date:   2026-07-14 (Tue, 14 Jul 2026)

  Changed paths:
    M history/hissqlite/hissqlite-main.sql
    M history/hissqlite/hissqlite.c
    M tests/lib/hissqlite-convert-t.c
    M tests/lib/hissqlite-t.c

  Log Message:
  -----------
  hissqlite: Report remembered entries as not found in HISlookup

hisv6_lookup returns true only for a history line carrying a storage
token, so no HISlookup caller ever sees a token-less hit.  hissqlite
instead returned found=true with TOKEN_EMPTY for a remembered (token
IS NULL) row, which leaked into callers that are not prepared for it.

Match the hisv6 contract: HISlookup means "have the article" and a
remembered row is reported as not found; HIScheck remains the
existence test that also counts remembered entries, so re-offers are
still refused.  Adjust the tests accordingly.

close #353



To unsubscribe from these emails, change your notification settings at https://github.com/InterNetNews/inn/settings/notifications


More information about the inn-committers mailing list