diff options
Diffstat (limited to 'src/third_party/wiredtiger/src/include/dhandle.h')
-rw-r--r-- | src/third_party/wiredtiger/src/include/dhandle.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/third_party/wiredtiger/src/include/dhandle.h b/src/third_party/wiredtiger/src/include/dhandle.h index 9a54b4ddb66..8b313428d06 100644 --- a/src/third_party/wiredtiger/src/include/dhandle.h +++ b/src/third_party/wiredtiger/src/include/dhandle.h @@ -1,5 +1,5 @@ /*- - * Copyright (c) 2014-2015 MongoDB, Inc. + * Copyright (c) 2014-2016 MongoDB, Inc. * Copyright (c) 2008-2014 WiredTiger, Inc. * All rights reserved. * @@ -33,6 +33,10 @@ (F_ISSET(dhandle, WT_DHANDLE_DEAD) || \ !F_ISSET(dhandle, WT_DHANDLE_EXCLUSIVE | WT_DHANDLE_OPEN)) +/* The metadata cursor's data handle. */ +#define WT_SESSION_META_DHANDLE(s) \ + (((WT_CURSOR_BTREE *)((s)->meta_cursor))->btree->dhandle) + /* * WT_DATA_HANDLE -- * A handle for a generic named data source. |