Repository navigation
Commit 4e3325d
test(server): the peer-link leak scan reads stored tables, not virtual ones
Migration 114 adds an fts3tokenize table that the recall triggers read with
`input =`. SQLite refuses to scan it without that constraint, so the
PeerLinkRequests helper that ran `SELECT *` over every sqlite_master table
failed with "SQL logic error". The helper now lists tables and FTS shadow
tables from pragma_table_list: every stored row is still read, and virtual
tables, whose rows are computed or live in those shadow and content tables,
are skipped.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent f65e955 commit 4e3325d
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
418 | | - | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
419 | 421 | | |
420 | 422 | | |
421 | 423 | | |
422 | 424 | | |
423 | | - | |
| 425 | + | |
| 426 | + | |
424 | 427 | | |
425 | 428 | | |
426 | 429 | | |
| |||
0 commit comments