summaryrefslogtreecommitdiff
path: root/src/btree/bt_huffman.c
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2012-09-18 18:04:08 +1000
committerMichael Cahill <michael.cahill@wiredtiger.com>2012-09-18 18:04:08 +1000
commitce2487d891d35e65115768321ee27e640e34c6ab (patch)
tree6ca626ef925dcd0b545f15c47ab2c7b9d60ded07 /src/btree/bt_huffman.c
parent53674ecce0303ec222d3a371372631b666e67f37 (diff)
downloadmongo-ce2487d891d35e65115768321ee27e640e34c6ab.tar.gz
Replace session->btree with a data handle.
Diffstat (limited to 'src/btree/bt_huffman.c')
-rw-r--r--src/btree/bt_huffman.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/btree/bt_huffman.c b/src/btree/bt_huffman.c
index a5b65d61506..4309dc344a1 100644
--- a/src/btree/bt_huffman.c
+++ b/src/btree/bt_huffman.c
@@ -140,7 +140,7 @@ __wt_btree_huffman_open(WT_SESSION_IMPL *session, const char *config)
WT_DECL_RET;
u_int entries, numbytes;
- btree = session->btree;
+ btree = S2BT(session);
WT_RET(__wt_config_getones(session, config, "huffman_key", &key_conf));
WT_RET(__wt_config_getones(
@@ -315,7 +315,7 @@ __wt_btree_huffman_close(WT_SESSION_IMPL *session)
{
WT_BTREE *btree;
- btree = session->btree;
+ btree = S2BT(session);
if (btree->huffman_key != NULL) {
/* Key and data may use the same table, only close it once. */