summaryrefslogtreecommitdiff
path: root/src/cursor/cur_bulk.c
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2014-08-10 12:33:13 -0400
committerKeith Bostic <keith@wiredtiger.com>2014-08-10 12:33:13 -0400
commit49b2995d3d368c867cf885155a1e182b0a604c1e (patch)
treedb16aade9022db5060e02ff13a391dc77c2321c4 /src/cursor/cur_bulk.c
parentaec0ae8d6f4f3c8f5bfa3bbf45b8ef92206c612a (diff)
downloadmongo-49b2995d3d368c867cf885155a1e182b0a604c1e.tar.gz
Replace the collator comparison #defines with inline functions,
the #defines confuse zoom for some reason I can't figure out, might as well be consistent.
Diffstat (limited to 'src/cursor/cur_bulk.c')
-rw-r--r--src/cursor/cur_bulk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cursor/cur_bulk.c b/src/cursor/cur_bulk.c
index f68d8899202..b9ac8d83f76 100644
--- a/src/cursor/cur_bulk.c
+++ b/src/cursor/cur_bulk.c
@@ -167,8 +167,8 @@ __curbulk_insert_row(WT_CURSOR *cursor)
* it is only zero before the first row is inserted.
*/
if (cbulk->rle != 0) {
- WT_ERR(WT_LEX_CMP(session,
- btree->collator, &cursor->key, &cbulk->last, cmp));
+ WT_ERR(__wt_lex_compare_collator(session,
+ btree->collator, &cursor->key, &cbulk->last, &cmp));
if (cmp <= 0)
WT_ERR(__bulk_row_keycmp_err(cbulk));
}