summaryrefslogtreecommitdiff
path: root/src/cursor/cur_std.c
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2013-04-03 18:03:11 -0400
committerKeith Bostic <keith@wiredtiger.com>2013-04-03 18:03:11 -0400
commitd278a512968c23557b730820bc332abb28cc04e3 (patch)
tree74400d842e2e5502cc169a9671eb542631500f44 /src/cursor/cur_std.c
parent41b6c4f7c0cd209546ebff7e5cdfb5b3ca5eea19 (diff)
downloadmongo-d278a512968c23557b730820bc332abb28cc04e3.tar.gz
Back out commit 06172ba931d518828c2290d943e91fd1ba8e10ab.
Diffstat (limited to 'src/cursor/cur_std.c')
-rw-r--r--src/cursor/cur_std.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/cursor/cur_std.c b/src/cursor/cur_std.c
index 7a55469d0e5..057350cf105 100644
--- a/src/cursor/cur_std.c
+++ b/src/cursor/cur_std.c
@@ -207,10 +207,6 @@ __wt_cursor_set_keyv(WT_CURSOR *cursor, uint32_t flags, va_list ap)
/* Fast path some common cases: single strings or byte arrays. */
if (WT_CURSOR_RECNO(cursor)) {
- if (LF_ISSET(WT_CURSTD_APPEND))
- WT_ERR_MSG(session, EINVAL,
- "Record numbers should not be set on cursors "
- "configured for append");
if (LF_ISSET(WT_CURSTD_RAW)) {
item = va_arg(ap, WT_ITEM *);
WT_ERR(__wt_struct_unpack(session,