my $db = $self->{xdb};
my $called;
$mid = mid_clean($mid);
+ my $over = $self->{over};
eval {
batch_do($self, 'Q' . $mid, sub {
my ($ids) = @_;
$db->delete_document($_) for @$ids;
+ $over->delete_articles($ids) if $over;
$called = 1;
});
};
my $txt = $ro->query('"inside another"');
is($txt->[0]->mid, $res->[0]->mid,
'search inside text attachments works');
+
+ my $mid = $n->[0]->mid;
+ my ($id, $prev);
+ my $art = $ro->next_by_mid($mid, \$id, \$prev);
+ ok($art, 'article exists in OVER DB');
+ $rw->unindex_blob($amsg);
+ $rw->commit_txn_lazy;
+ is($ro->lookup_article($art->{num}), undef, 'gone from OVER DB');
}
-$rw->commit_txn_lazy;
done_testing();