Eric Wong <[email protected]> wrote:
> $self->{batch_size} = 100;
> +
> + # XXX temporary hack...
> + my $v = ((Search::Xapian::major_version << 16) |
> + (Search::Xapian::minor_version << 8 ) |
> + Search::Xapian::revision());
> + if ($v >= 0x10222) { # >= 1.2.22
if ($v >= 0x1222) { # >= 1.2.22
Meh, I need sleep, this workaround is bogus even with the above
fix.
> + warn "batch size unsupported in ",
> + $Search::Xapian::VERSION, "\n";
> + $self->{batch_size} = undef;
> + }
> +
> $flag = Search::Xapian::DB_CREATE_OR_OPEN;
> _lock_acquire($self);
> }
--
unsubscribe: [email protected]
archive: https://public-inbox.org/meta/