From e3a043eed98859f1585b0854c179c81f7486f1e7 Mon Sep 17 00:00:00 2001 From: Michael Cahill Date: Tue, 22 Mar 2016 13:56:31 +1100 Subject: WT-2503 Rename "wait" to avoid shadowing system call. --- src/lsm/lsm_tree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/lsm/lsm_tree.c b/src/lsm/lsm_tree.c index 2b7e68b3f4e..c69f5416621 100644 --- a/src/lsm/lsm_tree.c +++ b/src/lsm/lsm_tree.c @@ -85,7 +85,7 @@ __lsm_tree_discard(WT_SESSION_IMPL *session, WT_LSM_TREE *lsm_tree, bool final) * Close an LSM tree structure. */ static int -__lsm_tree_close(WT_SESSION_IMPL *session, WT_LSM_TREE *lsm_tree, bool wait) +__lsm_tree_close(WT_SESSION_IMPL *session, WT_LSM_TREE *lsm_tree, bool final) { WT_DECL_RET; int i; @@ -105,7 +105,7 @@ __lsm_tree_close(WT_SESSION_IMPL *session, WT_LSM_TREE *lsm_tree, bool wait) * access is not available. */ for (i = 0; - lsm_tree->queue_ref > 0 || (wait && lsm_tree->refcnt > 1); ++i) { + lsm_tree->queue_ref > 0 || (final && lsm_tree->refcnt > 1); ++i) { /* * Remove any work units from the manager queues. Do this step * repeatedly in case a work unit was in the process of being -- cgit v1.2.1