IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 16, 2010, 11:20:32 AM (16 years ago)
Author:
watersc1
Message:

This should fix the stack-stack overqueueing bug. The test case for input_label = MD03.nightlyscience now only finds stacks from data_group MD03.20100215, which do not appear to have been queued for SS diffs before.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/difftool.c

    r26949 r26958  
    18941894  psString diffQuery = NULL;
    18951895  if (! (reRun || newTemplates) ) {
    1896     psStringAppend(&diffQuery, "\n AND diff_id IS NULL");
     1896    psStringAppend(&diffQuery, "\n AND diffExp.diff_id IS NULL");
    18971897  } else {
    18981898    diffQuery = psStringCopy("\n");
     
    19051905    return(false);
    19061906  }
    1907 
     1907  psTrace("difftool",1,query,stack2Query,diffQuery,stack1Query,stack1Query);
     1908/*   exit(10); */
     1909         
    19081910  if (!psDBTransaction(config->dbh)) {
    19091911    psError(PS_ERR_UNKNOWN, false, "database error");
     
    19111913  }
    19121914
    1913   if (!p_psDBRunQueryF(config->dbh, query, stack2Query, diffQuery, stack1Query, stack1Query)) {
     1915  if (!p_psDBRunQueryF(config->dbh, query, stack2Query, stack1Query, diffQuery, stack1Query)) {
    19141916    psError(PS_ERR_UNKNOWN, false, "database error");
    19151917    psFree(query);
     
    19191921    return false;
    19201922  }
     1923
    19211924  psFree(query);
    19221925
     
    19781981    psFree(thisWhere);
    19791982
    1980 /*     psTrace("difftool",1, query,stack2Query,diffQuery,this_stack1Query,this_stack1Query); */
     1983    psTrace("difftool",1, query,stack2Query,diffQuery,this_stack1Query,this_stack1Query);
    19811984    if (!psDBTransaction(config->dbh)) {
    19821985      psError(PS_ERR_UNKNOWN, false, "database error");
     
    19841987    }
    19851988
    1986     if (!p_psDBRunQueryF(config->dbh, query, stack2Query, diffQuery, this_stack1Query, this_stack1Query)) {
     1989    if (!p_psDBRunQueryF(config->dbh, query, stack2Query, this_stack1Query, diffQuery, this_stack1Query)) {
    19871990      psError(PS_ERR_UNKNOWN, false, "database error");
    19881991      psFree(query);
Note: See TracChangeset for help on using the changeset viewer.