]> Sergey Matveev's repositories - public-inbox.git/commit
lei/store: do not put NULL into over.num column
authorEric Wong <e@80x24.org>
Fri, 18 Jun 2021 19:20:31 +0000 (19:20 +0000)
committerEric Wong <e@80x24.org>
Fri, 18 Jun 2021 19:23:20 +0000 (19:23 +0000)
commitf8292aa38474acd174654fdb9971885013e45461
tree64710114a4a341e2dcb9c4b5a5f17c56897d94c8
parentd1052f03ea85d4afe19106584ed6ebd675dcead0
lei/store: do not put NULL into over.num column

Simplify oid2docid and filter out undefined docids in ->add_eml,
instead.  This avoids SQLite "datatype mismatch" errors in
OverIdx->add_over

Fixes: d1052f03ea85d4af ("lei/store: cull redundant docids based on blob OID")
lib/PublicInbox/LeiStore.pm