IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 29137


Ignore:
Timestamp:
Sep 9, 2010, 1:27:51 PM (16 years ago)
Author:
bills
Message:

magicdstool -advancerun was ignoring -limit. Fixed it

File:
1 edited

Legend:

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

    r29136 r29137  
    933933    }
    934934
     935    // treat limit == 0 as "no limit"
     936    if (limit) {
     937        psString limitString = psDBGenerateLimitSQL(limit);
     938        psStringAppend(&query, " %s", limitString);
     939        psFree(limitString);
     940    }
     941
    935942    if (!p_psDBRunQuery(config->dbh, query)) {
    936943        psError(PS_ERR_UNKNOWN, false, "database error");
Note: See TracChangeset for help on using the changeset viewer.