diff options
author | Keith Bostic <keith@wiredtiger.com> | 2016-03-16 10:07:04 -0400 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2016-03-16 10:07:04 -0400 |
commit | bb7bd4c719f7fae1cdece402251653d8d8576aab (patch) | |
tree | b6f5ccc65e6807293d50327ce2933ecc2efbca9e /src/cursor/cur_join.c | |
parent | 6a73f3acd7a02b26cfec002509c7c82e9b289e49 (diff) | |
download | mongo-bb7bd4c719f7fae1cdece402251653d8d8576aab.tar.gz |
WT-2490: search_near() returns wrong key for column-store
Lint: Last value assigned to variable 'firstcg_cur' not used in one code
path.
Diffstat (limited to 'src/cursor/cur_join.c')
-rw-r--r-- | src/cursor/cur_join.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cursor/cur_join.c b/src/cursor/cur_join.c index 8f69f748f9d..dfdbe1ae2ff 100644 --- a/src/cursor/cur_join.c +++ b/src/cursor/cur_join.c @@ -111,7 +111,6 @@ __curjoin_copy_primary_key(WT_SESSION_IMPL *session, WT_CURSOR_JOIN *cjoin, if (isindex) { cindex = ((WT_CURSOR_INDEX *)fromcur); - firstcg_cur = cindex->cg_cursors[0]; /* * Repack tells us where the index key ends; advance past * that to get where the raw primary key starts. |