From: Mike Taylor Date: Thu, 26 Oct 2006 12:55:35 +0000 (+0000) Subject: Set databaseName only temporarily within task. X-Git-Tag: CPAN-v1.02~54^2~850 X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=commitdiff_plain;h=661bdf876acd181b2435f475a59524730eb2f2c3;ds=sidebyside Set databaseName only temporarily within task. --- diff --git a/lib/ZOOM/IRSpy/Test/Search/Explain.pm b/lib/ZOOM/IRSpy/Test/Search/Explain.pm index 964ea10..a369262 100644 --- a/lib/ZOOM/IRSpy/Test/Search/Explain.pm +++ b/lib/ZOOM/IRSpy/Test/Search/Explain.pm @@ -1,4 +1,4 @@ -# $Id: Explain.pm,v 1.2 2006-10-25 13:38:10 sondberg Exp $ +# $Id: Explain.pm,v 1.3 2006-10-26 12:55:35 mike Exp $ # See the "Main" test package for documentation @@ -22,9 +22,9 @@ sub start { Processing VariantSetInfo UnitSet); foreach my $category (@explain) { - $conn->option('databaseName', 'IR-Explain-1'); $conn->irspy_search_pqf('@attr exp-1 1=1 ' . $category, - {'category' => $category}, {}, + {'category' => $category}, + { databaseName => 'IR-Explain-1' }, ZOOM::Event::RECV_SEARCH, \&found, exception => \&error); }