From 0dceebd0a85774c92af247e6da5e2f5a0ee8417c Mon Sep 17 00:00:00 2001 From: "Eric Wong (Contractor, The Linux Foundation)" Date: Tue, 3 Apr 2018 11:09:10 +0000 Subject: mbox: remove remaining OFFSET usage in SQLite We can use id_batch in the common case to speed up full mbox retrievals. Gigantic msets are still a problem, but will be fixed in future commits. --- lib/PublicInbox/Search.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/PublicInbox/Search.pm') diff --git a/lib/PublicInbox/Search.pm b/lib/PublicInbox/Search.pm index f7fdf854..eca2b0f5 100644 --- a/lib/PublicInbox/Search.pm +++ b/lib/PublicInbox/Search.pm @@ -179,8 +179,8 @@ sub query { } sub get_thread { - my ($self, $mid, $opts) = @_; - $self->{over_ro}->get_thread($mid, $opts); + my ($self, $mid, $prev) = @_; + $self->{over_ro}->get_thread($mid, $prev); } sub retry_reopen { -- cgit v1.2.3-24-ge0c7