summaryrefslogtreecommitdiff
path: root/src/conn/conn_open.c
diff options
context:
space:
mode:
authorKeith Bostic <keith.bostic@mongodb.com>2016-08-15 22:30:53 -0400
committerMichael Cahill <michael.cahill@mongodb.com>2016-08-16 12:30:53 +1000
commit0e8a887c8c7281ab09c5c9d61a30defbdeb58bbf (patch)
treecbace0a3076eae4d88c1af1c7cd2c300319fb3da /src/conn/conn_open.c
parent8e3c4660dce3c4620aae65493241238d23e9a04a (diff)
downloadmongo-0e8a887c8c7281ab09c5c9d61a30defbdeb58bbf.tar.gz
WT-2822 panic mutex and other functions that cannot fail (#2952)
* The pthread mutex implementation of spinlocks lock/unlock functions didn't check the underlying pthread_mutex functions for failure. Panic if pthreads fails. * Change condition mutex functions to not return errors. * Change __wt_verbose() to not return errors. * Make a final panic check before writing anything.
Diffstat (limited to 'src/conn/conn_open.c')
-rw-r--r--src/conn/conn_open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conn/conn_open.c b/src/conn/conn_open.c
index 8f101d4ec8e..69b50147bf5 100644
--- a/src/conn/conn_open.c
+++ b/src/conn/conn_open.c
@@ -157,7 +157,7 @@ __wt_connection_close(WT_CONNECTION_IMPL *conn)
WT_TRET(__wt_cache_destroy(session));
/* Discard transaction state. */
- WT_TRET(__wt_txn_global_destroy(session));
+ __wt_txn_global_destroy(session);
/* Close extensions, first calling any unload entry point. */
while ((dlh = TAILQ_FIRST(&conn->dlhqh)) != NULL) {