Subversion Repositories DevTools

Rev

Rev 910 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 910 Rev 916
Line 3297... Line 3297...
3297
    if ( mUseDatabase )
3297
    if ( mUseDatabase )
3298
    {
3298
    {
3299
      try
3299
      try
3300
      {
3300
      {
3301
        CallableStatement stmt = mConnection.prepareCall("select CONFIG from release_manager.BUILD_SERVICE_CONFIG WHERE SERVICE='MUTEX' FOR UPDATE");
3301
        CallableStatement stmt = mConnection.prepareCall("select CONFIG from release_manager.BUILD_SERVICE_CONFIG WHERE SERVICE='MUTEX' FOR UPDATE");
-
 
3302
        mLogger.fatal("claimMutex calling stmt.executeUpdate");
3302
        stmt.executeUpdate();
3303
        stmt.executeUpdate();
-
 
3304
        mLogger.fatal("claimMutex called stmt.executeUpdate");
3303
        stmt.close();
3305
        stmt.close();
3304
        mDoNotCommit = true;
3306
        mDoNotCommit = true;
3305
      }
3307
      }
3306
      catch ( SQLException e )
3308
      catch ( SQLException e )
3307
      {
3309
      {
Line 3329... Line 3331...
3329
    if ( mUseDatabase )
3331
    if ( mUseDatabase )
3330
    {
3332
    {
3331
      try
3333
      try
3332
      {
3334
      {
3333
        mDoNotCommit = false;
3335
        mDoNotCommit = false;
-
 
3336
        mLogger.fatal("releaseMutex calling commit");
3334
        commit();
3337
        commit();
-
 
3338
        mLogger.fatal("releaseMutex called commit");
3335
      }
3339
      }
3336
      catch ( SQLException e )
3340
      catch ( SQLException e )
3337
      {
3341
      {
3338
        if ( mConnection == null || ( mConnection != null && !mConnection.isValid(10) ) )
3342
        if ( mConnection == null || ( mConnection != null && !mConnection.isValid(10) ) )
3339
        {
3343
        {