diff options
author | Michael Cahill <michael.cahill@wiredtiger.com> | 2011-09-02 21:53:51 +1000 |
---|---|---|
committer | Michael Cahill <michael.cahill@wiredtiger.com> | 2011-09-02 21:53:51 +1000 |
commit | d47358ae3967fbbbe0b8975921e5d6dba925fba1 (patch) | |
tree | ba043e1835218fc73e921b36bf7ec03229d48f79 | |
parent | facce82758972e9c7b2f6d440cd2e437b563911d (diff) | |
download | mongo-d47358ae3967fbbbe0b8975921e5d6dba925fba1.tar.gz |
Fix a bug handling projection plans that need to skip columns.
-rw-r--r-- | src/schema/schema_project.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/schema/schema_project.c b/src/schema/schema_project.c index 1f4b31fe42d..8381740a7e6 100644 --- a/src/schema/schema_project.c +++ b/src/schema/schema_project.c @@ -258,9 +258,10 @@ __wt_schema_project_slice(WT_SESSION_IMPL *session, WT_CURSOR **cp, (const uint8_t **) &p, (size_t)(end - p))); - break; } } + if (*proj == WT_PROJ_SKIP) + break; WT_RET(__pack_next(&vpack, &vpv)); WT_RET(__unpack_read(session, &vpv, &vp, (size_t)(vend - vp))); |