IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 36776


Ignore:
Timestamp:
May 27, 2014, 9:42:39 AM (12 years ago)
Author:
bills
Message:

in laptool -definegroup order by lap_ids instead of projection cell

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/ipp-20130712/ippTools/src/laptool.c

    r35568 r36776  
    11701170  // we only want projection cells which do not already of an entry
    11711171  psStringAppend(&query, "\nWHERE lapGroup.projection_cell IS NULL\n");
    1172   psStringAppend(&query, "\nORDER by projection_cell\n");
     1172  // Projection cell's don't have a convienient order. Queue runs in the order of lap_id
     1173  // psStringAppend(&query, "\nORDER by projection_cell\n");
     1174  psStringAppend(&query, "\nORDER by lap_id_0\n");
    11731175
    11741176  if (limit) {
     
    12891291    psFree(whereClause);
    12901292  }
     1293  psStringAppend(&query, "\nGROUP by projection_cell ORDER by MIN(lap_id)");
    12911294  if (limit) {
    12921295    psString limitString = psDBGenerateLimitSQL(limit);
Note: See TracChangeset for help on using the changeset viewer.