summaryrefslogtreecommitdiff
path: root/src/btree/col_srch.c
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2014-03-31 14:13:54 -0400
committerKeith Bostic <keith@wiredtiger.com>2014-03-31 14:13:54 -0400
commitb0fd32f644a3a1de942aa094d7979b0a5da3cbc6 (patch)
treeab74ec656541d43a805073790b126fdeb9d63767 /src/btree/col_srch.c
parentedcc2a5c9e68e2e591e032b552da7c05f91c28b1 (diff)
downloadmongo-b0fd32f644a3a1de942aa094d7979b0a5da3cbc6.tar.gz
Obscure the name of the internal page's index so code more naturally
goes through a macro to get/set it. (We chased concurrency problems with the row-store key for a long time, hopefully this will short-cut that process.)
Diffstat (limited to 'src/btree/col_srch.c')
-rw-r--r--src/btree/col_srch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/btree/col_srch.c b/src/btree/col_srch.c
index 31964849743..bb75c4ea2f3 100644
--- a/src/btree/col_srch.c
+++ b/src/btree/col_srch.c
@@ -49,7 +49,7 @@ restart:
WT_ASSERT(session, parent->key.recno == page->pg_intl_recno);
- pindex = page->pg_intl_index;
+ pindex = WT_INTL_INDEX_COPY(page);
base = pindex->entries;
child = pindex->index[base - 1];