Changeset 20781 for trunk/ippTools/src/magicdstool.c
- Timestamp:
- Nov 17, 2008, 2:58:42 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/magicdstool.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/magicdstool.c
r20764 r20781 591 591 static bool getskycellsMode(pxConfig *config) 592 592 { 593 // required 594 PXOPT_LOOKUP_S64(magic_ds_id, config->args, "-magic_ds_id", true, false); 595 593 596 psMetadata *where = psMetadataAlloc(); 594 PXOPT_COPY_S64(config->args, where, "-magic_ds_id", "magicDSRun.magic_ds_id", "=="); 595 PXOPT_COPY_STR(config->args, where, "-class_id", "warpSkyCellMap.class_id", "=="); 596 PXOPT_COPY_STR(config->args, where, "-skycell_id", "warpSkyCellMap.skycell_id", "=="); 597 PXOPT_COPY_STR(config->args, where, "-class_id", "warpSkyCellMap.class_id", "=="); 598 PXOPT_COPY_STR(config->args, where, "-skycell_id", "warpSkyCellMap.skycell_id", "=="); 597 599 598 600 PXOPT_LOOKUP_BOOL(simple, config->args, "-simple", false); … … 611 613 psFree(where); 612 614 613 if (!p_psDBRunQuery(config->dbh, query )) {615 if (!p_psDBRunQuery(config->dbh, query, magic_ds_id)) { 614 616 psError(PS_ERR_UNKNOWN, false, "database error"); 615 617 psFree(query);
Note:
See TracChangeset
for help on using the changeset viewer.
