diff options
author | Keith Bostic <keith@wiredtiger.com> | 2014-08-10 12:33:13 -0400 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2014-08-10 12:33:13 -0400 |
commit | 49b2995d3d368c867cf885155a1e182b0a604c1e (patch) | |
tree | db16aade9022db5060e02ff13a391dc77c2321c4 /src/btree/bt_vrfy_dsk.c | |
parent | aec0ae8d6f4f3c8f5bfa3bbf45b8ef92206c612a (diff) | |
download | mongo-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/btree/bt_vrfy_dsk.c')
-rw-r--r-- | src/btree/bt_vrfy_dsk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/btree/bt_vrfy_dsk.c b/src/btree/bt_vrfy_dsk.c index 6c4d28a03ce..c9766c61c9f 100644 --- a/src/btree/bt_vrfy_dsk.c +++ b/src/btree/bt_vrfy_dsk.c @@ -368,8 +368,8 @@ key_compare: /* */ if ((dsk->type == WT_PAGE_ROW_INT && cell_num > 3) || (dsk->type != WT_PAGE_ROW_INT && cell_num > 1)) { - WT_ERR(WT_LEX_CMP( - session, btree->collator, last, current, cmp)); + WT_ERR(__wt_lex_compare_collator( + session, btree->collator, last, current, &cmp)); if (cmp >= 0) WT_ERR_VRFY(session, "the %" PRIu32 " and %" PRIu32 " keys on " |