IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 18399


Ignore:
Timestamp:
Jul 1, 2008, 5:04:47 PM (18 years ago)
Author:
jhoblitt
Message:

attempt to fix pzDownloadExp locking issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/pzgetimfiles.c

    r17910 r18399  
    191191    }
    192192
    193     // try not to insert duplicate pzPendingExp/pzPendingImfile entries
    194 
    195193    // create a temp table
    196194    {
     
    303301    {
    304302        char *query =
    305             "INSERT INTO pzDownloadExp"
     303            "INSERT IGNORE INTO pzDownloadExp"
    306304            "   SELECT"
    307305            "       incoming.exp_name,"
     
    311309            "       NULL"
    312310            "   FROM incoming"
    313             "   LEFT JOIN pzDownloadExp"
    314             "       USING(exp_name, camera, telescope)"
    315             "   WHERE"
    316             "       pzDownloadExp.exp_name is NULL"
    317             "       AND pzDownloadExp.camera is NULL"
    318             "       AND pzDownloadExp.telescope is NULL"
    319311            "   GROUP BY"
    320312            "       incoming.exp_name,"
Note: See TracChangeset for help on using the changeset viewer.