projects
/
working
/
Evergreen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea5f574
)
LP 1768715: Fix bug in pingest.pl after --pipe option was added.
author
Jason Stephenson
<jstephenson@mvlcstaff.org>
Fri, 1 Apr 2016 14:00:20 +0000
(10:00 -0400)
committer
Jason Stephenson
<jason@sigio.com>
Sun, 3 Jun 2018 00:14:55 +0000
(20:14 -0400)
Apparently, the results of DBI->selectall_arrayref need to be cast to
an array and not just returned as a list.
Signed-off-by: Jason Stephenson <jstephenson@mvlcstaff.org>
Open-ILS/src/support-scripts/pingest.pl
patch
|
blob
|
history
diff --git
a/Open-ILS/src/support-scripts/pingest.pl
b/Open-ILS/src/support-scripts/pingest.pl
index
898dc13
..
73efaab
100755
(executable)
--- a/
Open-ILS/src/support-scripts/pingest.pl
+++ b/
Open-ILS/src/support-scripts/pingest.pl
@@
-152,7
+152,7
@@
if ($opt_pipe) {
}
}
} else {
- @input =
($dbh->selectall_arrayref($q))
;
+ @input =
@{$dbh->selectall_arrayref($q)}
;
}
foreach my $r (@input) {