IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 28, 2010, 2:23:10 PM (16 years ago)
Author:
bills
Message:

in -updatewarp don't need to join to warpBackgroundSkyfile pxUpdateRun will handle that if necessary
Fix typo in warpBackgroundSkyfile table name

File:
1 edited

Legend:

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

    r28737 r28743  
    6969static const tableData warpTables[] = {
    7070    { "warpBackgroundRun", (void*)&warpBackgroundRunObjectFromMetadata, &warpBackgroundRunInsertObject },
    71     { "warpBackgroundImfile", (void*)&warpBackgroundSkyfileObjectFromMetadata, &warpBackgroundSkyfileInsertObject },
     71    { "warpBackgroundSkyfile", (void*)&warpBackgroundSkyfileObjectFromMetadata, &warpBackgroundSkyfileInsertObject },
    7272    { NULL, NULL, NULL }
    7373};
     
    12601260    }
    12611261
    1262     psString query = psStringCopy("UPDATE warpBackgroundRun JOIN warpBackgroundSkyfile USING(warp_bg_id)");
     1262    psString query = psStringCopy("UPDATE warpBackgroundRun");
    12631263    bool result = pxUpdateRun(config, where, &query, "warpBackgroundRun", "warp_bg_id",
    12641264                              "warpBackgroundSkyfile", true);
Note: See TracChangeset for help on using the changeset viewer.