Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/05/09 13:52:10 (15 years ago)
Author:
svonolfe
Message:

Improved transaction handling and locking (#527)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Server.ADODataAccess/ClientAdapter.cs

    r1515 r1516  
    221221    protected override bool doDelete(ClientInfo client) {
    222222      bool success = false;
    223       Guid locked = Guid.Empty;
    224223     
    225224      if (client != null) {
    226         if (client.Id != Guid.Empty) {
    227           LockRow(client.Id);
    228           locked = client.Id;
    229         }
    230 
    231225        dsHiveServer.ClientRow row =
    232226          GetRowById(client.Id);
     
    238232      }
    239233
    240       if (locked != Guid.Empty) {
    241         UnlockRow(locked);
    242       }
    243 
    244234      return success;
    245235    }
Note: See TracChangeset for help on using the changeset viewer.