summaryrefslogtreecommitdiff
path: root/src/lock/lock_failchk.c
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2015-02-17 17:25:57 +0000
committer <>2015-03-17 16:26:24 +0000
commit780b92ada9afcf1d58085a83a0b9e6bc982203d1 (patch)
tree598f8b9fa431b228d29897e798de4ac0c1d3d970 /src/lock/lock_failchk.c
parent7a2660ba9cc2dc03a69ddfcfd95369395cc87444 (diff)
downloadberkeleydb-master.tar.gz
Imported from /home/lorry/working-area/delta_berkeleydb/db-6.1.23.tar.gz.HEADdb-6.1.23master
Diffstat (limited to 'src/lock/lock_failchk.c')
-rw-r--r--src/lock/lock_failchk.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/lock/lock_failchk.c b/src/lock/lock_failchk.c
index 59fb010f..84f757bf 100644
--- a/src/lock/lock_failchk.c
+++ b/src/lock/lock_failchk.c
@@ -1,7 +1,7 @@
/*-
* See the file LICENSE for redistribution information.
*
- * Copyright (c) 2005, 2012 Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
@@ -15,7 +15,7 @@
/*
* __lock_failchk --
* Check for locks held by dead threads of control and release
- * read locks. If any write locks were held by dead non-trasnactional
+ * read locks. If any write locks were held by dead non-transactional
* lockers then we must abort and run recovery. Otherwise we release
* read locks for lockers owned by dead threads. Write locks for
* dead transactional lockers will be freed when we abort the transaction.
@@ -98,9 +98,8 @@ retry: LOCK_LOCKERS(env, lrp);
/*
* This locker is most likely referenced by a cursor
* which is owned by a dead thread. Normally the
- * cursor would be available for other threads
- * but we assume the dead thread will never release
- * it.
+ * cursor would be available for other threads but we
+ * assume the dead thread will never release it.
*/
if (lip->id < TXN_MINIMUM &&
(ret = __lock_freelocker(lt, lip)) != 0)