diff options
author | Eric Wong <e@80x24.org> | 2023-11-24 09:53:46 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-11-25 00:10:11 +0000 |
commit | 4e6b4ae212e05d0b6182275b2c66e5a579c5a266 (patch) | |
tree | e92d00f87a6c522b117fe2160f6d67e2e65cb036 /lib/PublicInbox | |
parent | 848f2d4a6fb618a92611dfd0c38ddab283332f44 (diff) | |
download | public-inbox-4e6b4ae212e05d0b6182275b2c66e5a579c5a266.tar.gz |
`reset' means we want to ignore existing join data, while the default (non-reset) means we perform an incremental join while taking into account existing (fuzzy) join data.
Diffstat (limited to 'lib/PublicInbox')
-rw-r--r-- | lib/PublicInbox/CodeSearchIdx.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/CodeSearchIdx.pm b/lib/PublicInbox/CodeSearchIdx.pm index 3a551c84..81ca5cbc 100644 --- a/lib/PublicInbox/CodeSearchIdx.pm +++ b/lib/PublicInbox/CodeSearchIdx.pm @@ -997,7 +997,7 @@ sub init_join_postfork ($) { require_progs('join', join => \@JOIN); my $d2 = '([0-9]{2})'; my $dt_re = qr!([0-9]{4})$d2$d2$d2$d2$d2!; - if (my $cur = $JOIN{reset} ? current_join_data($self) : undef) { + if (my $cur = $JOIN{reset} ? undef : current_join_data($self)) { if (($cur->{dt}->[1] // '') =~ m!\A$dt_re\z!o) { my ($Y, $m, $d, $H, $M, $S) = ($1, $2, $3, $4, $5, $6); my $t = timegm($S, $M, $H, $d, $m - 1, $Y); |