IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 15614 for trunk/ippTools/src


Ignore:
Timestamp:
Nov 13, 2007, 4:22:13 PM (18 years ago)
Author:
jhoblitt
Message:

remove transaction handling from pxchipQueueByExpTag()

File:
1 edited

Legend:

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

    r15580 r15614  
    6666    PS_ASSERT_PTR_NON_NULL(config, false);
    6767
    68     // start a transaction
    69     if (!psDBTransaction(config->dbh)) {
    70         psError(PS_ERR_UNKNOWN, false, "database error");
    71         return false;
    72     }
    73    
    7468    // create a chipRun
    7569    if (!chipRunInsert(config->dbh,
     
    8478            dvodb)
    8579    ) {
    86         // rollback
    87         if (!psDBRollback(config->dbh)) {
    88             psError(PS_ERR_UNKNOWN, false, "database error");
    89         }
    90         psError(PS_ERR_UNKNOWN, false, "database error");
    91         return 0;
    92     }
    93 
    94     // point of no return
    95     if (!psDBCommit(config->dbh)) {
    9680        psError(PS_ERR_UNKNOWN, false, "database error");
    9781        return 0;
Note: See TracChangeset for help on using the changeset viewer.