Changeset 18399
- Timestamp:
- Jul 1, 2008, 5:04:47 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/pzgetimfiles.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/pzgetimfiles.c
r17910 r18399 191 191 } 192 192 193 // try not to insert duplicate pzPendingExp/pzPendingImfile entries194 195 193 // create a temp table 196 194 { … … 303 301 { 304 302 char *query = 305 "INSERT I NTO pzDownloadExp"303 "INSERT IGNORE INTO pzDownloadExp" 306 304 " SELECT" 307 305 " incoming.exp_name," … … 311 309 " NULL" 312 310 " 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"319 311 " GROUP BY" 320 312 " incoming.exp_name,"
Note:
See TracChangeset
for help on using the changeset viewer.
