Changeset 841 for trunk/server/lib/tdb/common/io.c
- Timestamp:
- Feb 4, 2014, 7:34:29 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/lib/tdb/common/io.c
r840 r841 101 101 // 2. if the write lock wasn't set, we try to unlock the segment 102 102 // first and add the write lock afterwards 103 int upgradeLockRC = tdb_brlock(tdb, F_WRLCK, off, len, TDB_LOCK_NOWAIT); 103 int upgradeLockRC = 0; 104 upgradeLockRC = tdb_brlock(tdb, F_WRLCK, off, len, TDB_LOCK_NOWAIT); 104 105 if (upgradeLockRC != 0) { 105 106 tdb_brunlock(tdb, F_RDLCK, off, len);
Note:
See TracChangeset
for help on using the changeset viewer.