IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 22, 2026, 3:10:37 PM (3 days ago)
Author:
eugene
Message:

SELECT DISTINCT with UNION needs grouping parentheses in modern SQL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-pstamp-20260421/ippTools/src/difftool.c

    r43013 r43096  
    28832883    if (limit) {
    28842884        psString limitString = psDBGenerateLimitSQL(limit);
    2885         psStringAppend(&query, " %s", limitString);
    2886         psStringSubstitute(&query,limitString,"@INNERLIMITS@");
     2885        // psStringAppend(&query, " %s", limitString);
     2886        psStringSubstitute(&query, limitString, "@INNERLIMITS@");
    28872887        psFree(limitString);
    28882888
    28892889    }
    28902890    else {
    2891       psStringSubstitute(&query,NULL,"@INNERLIMITS@");
     2891      psStringSubstitute(&query ,NULL, "@INNERLIMITS@");
    28922892    }
    28932893    //    fprintf(stderr,"%s",query);
Note: See TracChangeset for help on using the changeset viewer.