IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 12, 2008, 11:15:16 AM (18 years ago)
Author:
bills
Message:

need to qualify selection by fileset by name with the product as well

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataStoreServer/scripts/dsfsindex

    r16762 r16954  
    4141my $prod_id = $prod->{prod_id};
    4242
    43 my $stmt = $dbh->prepare("SELECT fileset_id FROM dsFileset WHERE fileset_name = \'$fileset\'");
     43my $stmt = $dbh->prepare("SELECT fileset_id FROM dsFileset WHERE fileset_name = \'$fileset\'" .
     44                    " AND prod_id = $prod_id");
    4445$stmt->execute();
    4546my $fs = $stmt->fetchrow_hashref();
Note: See TracChangeset for help on using the changeset viewer.