summaryrefslogtreecommitdiff
path: root/src/async
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2015-08-18 10:03:01 -0400
committerKeith Bostic <keith@wiredtiger.com>2015-08-18 10:03:01 -0400
commita59d09a5dbfefb6ff6d21aff49d92511ec65ceb5 (patch)
tree95aa928274cd005bb3edcdf9df1fdcbf3de01417 /src/async
parente447671a18c8e6189d2c5d32ba6894a0690f9f8f (diff)
parent41b410e08778ab1f328e35d323b60bcb39f18bf2 (diff)
downloadmongo-a59d09a5dbfefb6ff6d21aff49d92511ec65ceb5.tar.gz
Merge branch 'develop' into wt-2025-inline-atomic-functions
Diffstat (limited to 'src/async')
-rw-r--r--src/async/async_api.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/async/async_api.c b/src/async/async_api.c
index cd232af5340..416c3c84f7b 100644
--- a/src/async/async_api.c
+++ b/src/async/async_api.c
@@ -207,15 +207,15 @@ __wt_async_stats_update(WT_SESSION_IMPL *session)
{
WT_ASYNC *async;
WT_CONNECTION_IMPL *conn;
- WT_CONNECTION_STATS *stats;
+ WT_CONNECTION_STATS **stats;
conn = S2C(session);
async = conn->async;
if (async == NULL)
return;
- stats = &conn->stats;
- WT_STAT_SET(stats, async_cur_queue, async->cur_queue);
- WT_STAT_SET(stats, async_max_queue, async->max_queue);
+ stats = conn->stats;
+ WT_STAT_SET(session, stats, async_cur_queue, async->cur_queue);
+ WT_STAT_SET(session, stats, async_max_queue, async->max_queue);
F_SET(conn, WT_CONN_SERVER_ASYNC);
}