Changeset 32451
- Timestamp:
- Sep 26, 2011, 11:37:59 AM (15 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/addtool.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/addtool.c
r31680 r32451 280 280 281 281 } 282 283 //if we grab a group of camRun/stackRuns that have multiple camRun/stackRun pointing to the same exp_id/stack_id, and that exp_id/stack_id has never before been added to addRun, we need to group by exp_id/stack_id to ensure that only 1 of the camRun/stackRun for that exp_id is added to the addRun stage. 284 285 if (strcmp(stage,"cam") == 0) { 286 psStringAppend(&query, " GROUP BY exp_id"); 287 } 288 if (strcmp(stage,"stack") == 0) { 289 psStringAppend(&query, " GROUP BY stack_id"); 290 } 291 if (strcmp(stage,"staticsky") == 0) { 292 psStringAppend(&query, " GROUP BY stack_id"); 293 } 294 295 282 296 283 297 psTrace("addtool.c", PS_LOG_INFO,"query: \n\n%s\n\n",query);
Note:
See TracChangeset
for help on using the changeset viewer.
