diff options
author | Keith Bostic <keith@wiredtiger.com> | 2012-12-12 14:34:09 +0000 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2012-12-12 14:34:09 +0000 |
commit | 1c66a956e72155c23606558274a203dea3a64455 (patch) | |
tree | 73b674a5f06fa11a477b459619c5820d25248767 | |
parent | 9846f844f2b3ec83c876e49c7f0511c95226a7de (diff) | |
download | mongo-1c66a956e72155c23606558274a203dea3a64455.tar.gz |
Don't ignore the possible error return from WT_BTREE_CMP.
-rw-r--r-- | src/btree/row_srch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/btree/row_srch.c b/src/btree/row_srch.c index da6b9ff9569..cf100e5f6a4 100644 --- a/src/btree/row_srch.c +++ b/src/btree/row_srch.c @@ -32,7 +32,7 @@ __wt_search_insert(WT_SESSION_IMPL *session, /* Fast-path appends. */ insert_key.data = WT_INSERT_KEY(ret_ins); insert_key.size = WT_INSERT_KEY_SIZE(ret_ins); - (void)WT_BTREE_CMP(session, btree, srch_key, &insert_key, cmp); + WT_RET(WT_BTREE_CMP(session, btree, srch_key, &insert_key, cmp)); if (cmp >= 0) { /* * XXX We may race with another appending thread. |