Changeset 23783 for trunk/ippTools/src
- Timestamp:
- Apr 9, 2009, 3:20:44 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/disttool.c (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/disttool.c
r23777 r23783 157 157 158 158 psString query = NULL; 159 psString runType = NULL;159 psString magicRunType = NULL; 160 160 psString runJoinStr = NULL; 161 161 if (!strcmp(stage, "raw")) { 162 runType = "rawExp";162 magicRunType = "rawExp"; 163 163 runJoinStr = "rawExp.exp_id"; 164 164 query = pxDataGet("disttool_definebyquery_raw.sql"); … … 169 169 } 170 170 } else if (!strcmp(stage, "chip")) { 171 runType = "chipRun";171 magicRunType = "chipRun"; 172 172 runJoinStr = "chipRun.chip_id"; 173 173 query = pxDataGet("disttool_definebyquery_chip.sql"); … … 182 182 } 183 183 } else if (!strcmp(stage, "camera")) { 184 runType = "camRun";184 magicRunType = "chipRun"; // This is used below to set the magicked business 185 185 query = pxDataGet("disttool_definebyquery_camera.sql"); 186 186 if (!query) { … … 194 194 } 195 195 } else if (!strcmp(stage, "fake")) { 196 runType = "fakeRun";196 magicRunType = "fakeRun"; 197 197 query = pxDataGet("disttool_definebyquery_fake.sql"); 198 198 if (!query) { … … 208 208 no_magic = true; 209 209 } else if (!strcmp(stage, "warp")) { 210 runType = "warpRun";210 magicRunType = "warpRun"; 211 211 runJoinStr = "warpRun.warp_id"; 212 212 query = pxDataGet("disttool_definebyquery_warp.sql"); … … 222 222 223 223 } else if (!strcmp(stage, "diff")) { 224 runType = "diffRun";224 magicRunType = "diffRun"; 225 225 runJoinStr = "diffRun.diff_id"; 226 226 query = pxDataGet("disttool_definebyquery_diff.sql"); … … 236 236 237 237 } else if (!strcmp(stage, "stack")) { 238 runType = "stackRun";238 magicRunType = "stackRun"; 239 239 query = pxDataGet("disttool_definebyquery_stack.sql"); 240 240 if (!query) { … … 265 265 266 266 if (!no_magic) { 267 psStringAppend(&query, " AND (distTarget.clean OR %s.magicked)", runType);267 psStringAppend(&query, " AND (distTarget.clean OR %s.magicked)", magicRunType); 268 268 269 269 // is selecting by magic_ds_id really interesting?
Note:
See TracChangeset
for help on using the changeset viewer.
