remember kids, always execute your prepared queries before fetching from them
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 7 Mar 2008 16:54:43 +0000 (16:54 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 7 Mar 2008 16:54:43 +0000 (16:54 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@8901 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/metabib.pm

index f6f0bc3..9ff4fc8 100644 (file)
@@ -2458,6 +2458,8 @@ sub staged_fts {
                 );
     SQL
 
                 );
     SQL
 
+    $sth->execute;
+
     my $recs = $sth->fetchall_arrayref({});
     my $summary_row = pop @$recs;
 
     my $recs = $sth->fetchall_arrayref({});
     my $summary_row = pop @$recs;