summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
2d41cea)
The SWIG binding won't auto-convert IV/UV to PV like the XS
Search::Xapian binding would, so workaround that shortcoming
for now.
Fixes: a367ec1b15a2458 ("mbox: disable "&t" on existing Xapian until full reindex")
my $s0 = PublicInbox::SearchIdx->new($self->{ibx}, 0, 0);
if (my $xdb = $s0->idx_acquire) {
my $n = $xdb->get_metadata('has_threadid');
my $s0 = PublicInbox::SearchIdx->new($self->{ibx}, 0, 0);
if (my $xdb = $s0->idx_acquire) {
my $n = $xdb->get_metadata('has_threadid');
- $xdb->set_metadata('has_threadid', 1) if $n ne '1';
+ $xdb->set_metadata('has_threadid', '1') if $n ne '1';
}
$s0->idx_release;
$self->lock_release;
}
$s0->idx_release;
$self->lock_release;