]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Import.pm
v2: support Xapian + SQLite indexing
[public-inbox.git] / lib / PublicInbox / Import.pm
index 364ab602917eaa41cec96fb29f6d3ec7cac549e3..1a2698a75d609aea4162075e312a791f1c9041c0 100644 (file)
@@ -285,6 +285,7 @@ sub add {
        # v2: we need this for Xapian
        if ($self->{want_object_id}) {
                chomp($self->{last_object_id} = $self->get_mark(":$blob"));
+               $self->{last_object_size} = $n;
        }
 
        my $ref = $self->{ref};