diff options
author | Keith Bostic <keith.bostic@mongodb.com> | 2016-08-15 22:30:53 -0400 |
---|---|---|
committer | Michael Cahill <michael.cahill@mongodb.com> | 2016-08-16 12:30:53 +1000 |
commit | 0e8a887c8c7281ab09c5c9d61a30defbdeb58bbf (patch) | |
tree | cbace0a3076eae4d88c1af1c7cd2c300319fb3da /src/conn/conn_open.c | |
parent | 8e3c4660dce3c4620aae65493241238d23e9a04a (diff) | |
download | mongo-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.c | 2 |
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) { |