summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/utilities/util_load.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/src/utilities/util_load.c')
-rw-r--r--src/third_party/wiredtiger/src/utilities/util_load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/third_party/wiredtiger/src/utilities/util_load.c b/src/third_party/wiredtiger/src/utilities/util_load.c
index 2b210419c78..7e0f816436e 100644
--- a/src/third_party/wiredtiger/src/utilities/util_load.c
+++ b/src/third_party/wiredtiger/src/utilities/util_load.c
@@ -138,7 +138,7 @@ load_dump(WT_SESSION *session)
* Check the append flag (it only applies to objects where the primary
* key is a record number).
*/
- if (append && strcmp(cursor->key_format, "r") != 0) {
+ if (append && !WT_STREQ(cursor->key_format, "r")) {
fprintf(stderr,
"%s: %s: -a option illegal unless the primary key is a "
"record number\n",