IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 15159


Ignore:
Timestamp:
Oct 1, 2007, 6:21:35 PM (19 years ago)
Author:
jhoblitt
Message:

attempt to work around transactional deadlock by setting the transaction mode

File:
1 edited

Legend:

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

    r14600 r15159  
    297297    }
    298298
     299    if (!p_psDBRunQuery(config->dbh, "SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED")) {
     300        // rollback
     301        if (!psDBRollback(config->dbh)) {
     302            psError(PS_ERR_UNKNOWN, false, "database error");
     303        }
     304        psError(PS_ERR_UNKNOWN, false, "database error");
     305        return false;
     306    }
     307
    299308    // copy imfiles (files) from the temp table into summitImfiles
    300309    {
Note: See TracChangeset for help on using the changeset viewer.