Changeset 27838 for branches/tap_branches/ippTools/src/pztool.c
- Timestamp:
- May 3, 2010, 8:41:49 AM (16 years ago)
- Location:
- branches/tap_branches
- Files:
-
- 3 edited
-
. (modified) (1 prop)
-
ippTools/src (modified) (1 prop)
-
ippTools/src/pztool.c (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/tap_branches
- Property svn:mergeinfo changed
-
branches/tap_branches/ippTools/src
- Property svn:ignore
-
old new 16 16 difftool 17 17 disttool 18 dqstatstool 18 19 faketool 19 20 flatcorr
-
- Property svn:ignore
-
branches/tap_branches/ippTools/src/pztool.c
r25418 r27838 117 117 telescope, 118 118 uri, 119 NULL // epoch 119 NULL, // epoch 120 0 // use_compress 120 121 )) { 121 122 psError(PS_ERR_UNKNOWN, false, "database error"); … … 304 305 psArray *cameras = pzGetPendingCameras(config); 305 306 if (!cameras) { 306 psError(PXTOOLS_ERR_ DATA, false, "failed to find any cameras");307 psError(PXTOOLS_ERR_CONFIG, false, "failed to find any cameras"); 307 308 return false; 308 309 } … … 314 315 psString query = pxDataGet("pztool_pendingimfile.sql"); 315 316 if (!query) { 316 psError(PXTOOLS_ERR_ DATA, false, "failed to retreive SQL statement");317 psError(PXTOOLS_ERR_SYS, false, "failed to retreive SQL statement"); 317 318 psFree(cameraImfiles); 318 319 return false; … … 492 493 psString query = pxDataGet("pztool_find_completed_exp.sql"); 493 494 if (!query) { 494 psError(PXTOOLS_ERR_ DATA, false, "failed to retreive SQL statement");495 psError(PXTOOLS_ERR_SYS, false, "failed to retreive SQL statement"); 495 496 return false; 496 497 } … … 783 784 psMetadata *where = psMetadataAlloc(); 784 785 PXOPT_COPY_STR(config->args, where, "-exp_name", "exp_name", "=="); 785 PXOPT_COPY_STR(config->args, where, "-inst", " inst", "==");786 PXOPT_COPY_STR(config->args, where, "-inst", "camera", "=="); 786 787 PXOPT_COPY_STR(config->args, where, "-telescope", "telescope", "=="); 787 788 PXOPT_COPY_STR(config->args, where, "-class", "class", "=="); … … 807 808 psMetadata *where = psMetadataAlloc(); 808 809 PXOPT_COPY_STR(config->args, where, "-exp_name", "exp_name", "=="); 809 PXOPT_COPY_STR(config->args, where, "-inst", " inst", "==");810 PXOPT_COPY_STR(config->args, where, "-inst", "camera", "=="); 810 811 PXOPT_COPY_STR(config->args, where, "-telescope", "telescope", "=="); 811 812 PXOPT_COPY_STR(config->args, where, "-class", "class", "=="); … … 814 815 psString query = pxDataGet("pztool_revertcopied.sql"); 815 816 if (!query) { 816 psError(PXTOOLS_ERR_ DATA, false, "failed to retreive SQL statement");817 psError(PXTOOLS_ERR_SYS, false, "failed to retreive SQL statement"); 817 818 return false; 818 819 } … … 848 849 psString query = pxDataGet("pztool_revert_downloadimfile_faults.sql"); 849 850 if (!query) { 850 psError(PXTOOLS_ERR_ DATA, false, "failed to retreive SQL statement");851 psError(PXTOOLS_ERR_SYS, false, "failed to retreive SQL statement"); 851 852 return false; 852 853 } … … 863 864 psString query = pxDataGet("pztool_revert_fileset_faults.sql"); 864 865 if (!query) { 865 psError(PXTOOLS_ERR_ DATA, false, "failed to retreive SQL statement");866 psError(PXTOOLS_ERR_SYS, false, "failed to retreive SQL statement"); 866 867 return false; 867 868 }
Note:
See TracChangeset
for help on using the changeset viewer.
