about summary refs log tree commit homepage
path: root/t/thread-index-gap.t
DateCommit message (Collapse)
2021-08-08tests: fix test failures when Xapian is missing
We still support usage without Xapian, so ensure our tests work when Xapian bindings are missing
2021-03-15t/thread-index-gap: create_inbox
Yes, this loses some randomness w.r.t. shuffle, but I think it's "good enough" and buys us ~100ms speedup on an SSD TMPDIR.
2021-02-10t/thread-index-gap.t: avoid unnecessary map
We only care abount the number of results.
2021-01-18t/thread-index-gap: support older DBI
...by avoiding selectall_array in favor of selectall_arrayref. Tested with DBI 1.627.
2021-01-01update copyrights for 2021
Using "make update-copyrights" after setting GNULIB_PATH in my config.mak
2020-12-05over: ensure old, merged {tid} is really gone
We must use the result of link_refs() since it can trigger merge_threads() and invalidate $old_tid. In case merge_threads() isn't triggered, link_refs() will return $old_tid anyways. When rethreading and allocating new {tid}, we also must update the row where the now-expired {tid} came from to ensure only the new {tid} is seen when reindexing subsequent messages in history. Otherwise, every subsequently reindexed+rethreaded message could end up getting a new {tid}. Reported-by: Kyle Meyer <kyle@kyleam.com> Link: https://public-inbox.org/meta/87360nlc44.fsf@kyleam.com/