IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 15580


Ignore:
Timestamp:
Nov 9, 2007, 5:47:57 PM (19 years ago)
Author:
jhoblitt
Message:

change pxchipQueueByExpTag() to return the chip_id

Location:
trunk/ippTools/src
Files:
2 edited

Legend:

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

    r14214 r15580  
    5656
    5757
    58 bool pxchipQueueByExpTag(pxConfig *config,
     58psS64 pxchipQueueByExpTag(pxConfig *config,
    5959                         psS64 exp_id,
    6060                         psString workdir,
     
    8989        }
    9090        psError(PS_ERR_UNKNOWN, false, "database error");
    91         return false;
     91        return 0;
    9292    }
    9393
     
    9595    if (!psDBCommit(config->dbh)) {
    9696        psError(PS_ERR_UNKNOWN, false, "database error");
    97         return false;
     97        return 0;
    9898    }
    9999
    100     return true;
     100    return psDBLastInsertID(config->dbh);
    101101}
  • trunk/ippTools/src/pxchip.h

    r14214 r15580  
    2727bool pxchipRunSetState(pxConfig *config, psS64 chip_id, const char *state);
    2828
    29 bool pxchipQueueByExpTag(pxConfig *config,
     29psS64 pxchipQueueByExpTag(pxConfig *config,
    3030                         psS64 exp_id,
    3131                         psString workdir,
Note: See TracChangeset for help on using the changeset viewer.