]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/LeiSearch.pm
lei_search: favor binary OID comparisons
[public-inbox.git] / lib / PublicInbox / LeiSearch.pm
index 37bfc65e27cc7515b0b7d285b84e81120dbd3d5f..79b2fd7d165e2c3e46fefce98a73d29e48e33e2c 100644 (file)
@@ -42,9 +42,9 @@ sub _oid_kw { # retry_reopen callback
 }
 
 # returns undef if blob is unknown
-sub oid_keywords {
-       my ($self, $oidhex) = @_;
-       my @num = $self->over->blob_exists($oidhex) or return;
+sub oidbin_keywords {
+       my ($self, $oidbin) = @_;
+       my @num = $self->over->oidbin_exists($oidbin) or return;
        $self->retry_reopen(\&_oid_kw, \@num);
 }