projects
/
irspy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42a6319
)
Test whether $record is defined before checking its contents.
author
Mike Taylor
<mike@indexdata.com>
Wed, 1 Aug 2007 15:11:20 +0000
(15:11 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Wed, 1 Aug 2007 15:11:20 +0000
(15:11 +0000)
lib/ZOOM/IRSpy/Test/ResultSet/Named.pm
patch
|
blob
|
history
diff --git
a/lib/ZOOM/IRSpy/Test/ResultSet/Named.pm
b/lib/ZOOM/IRSpy/Test/ResultSet/Named.pm
index
fc1cc64
..
eb3a342
100644
(file)
--- a/
lib/ZOOM/IRSpy/Test/ResultSet/Named.pm
+++ b/
lib/ZOOM/IRSpy/Test/ResultSet/Named.pm
@@
-1,4
+1,4
@@
-# $Id: Named.pm,v 1.5 2007-03-15 11:38:53 mike Exp $
+# $Id: Named.pm,v 1.6 2007-08-01 15:11:20 mike Exp $
# See the "Main" test package for documentation
@@
-86,7
+86,7
@@
sub completed_search_b {
$error = 'hitcount';
}
- if ($record ne $test_args->{'record_a'}) {
+ if (!defined $record || $record ne $test_args->{'record_a'}) {
$conn->log('irspy_test', 'Named result set not supported: ',
'Mis-matching records');
$error = 'record';