-# $Id: Search.pm,v 1.9 2007-03-07 11:41:01 mike Exp $
+# $Id: Search.pm,v 1.11 2007-03-09 08:57:34 mike Exp $
package ZOOM::IRSpy::Task::Search;
$this->set_options();
my $conn = $this->conn();
- ### Note that adding this next line DOES NOT HELP at the moment --
- # perhaps because of a ZOOM-C bug?
$conn->connect($conn->option("host"));
my $query = $this->{query};
$this->irspy()->log("irspy_task", $conn->option("host"),
" searching for '$query'");
+ $this->{rs}->destroy() if defined $this->{rs};
$this->{rs} = $conn->search_pqf($query);
warn "no ZOOM-C level events queued by $this"
if $conn->is_idle();