summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/log/log.c
diff options
context:
space:
mode:
authorLuke Chen <luke.chen@mongodb.com>2019-03-08 08:19:53 +1100
committerLuke Chen <luke.chen@mongodb.com>2019-03-08 08:19:53 +1100
commit5a7ccd5f073341f5f98e0ced39a80416869c181b (patch)
treee4da15db6037ad02ebc7e69e292afe81fdcff53e /src/third_party/wiredtiger/src/log/log.c
parentf386c49be72744d88fbb0950c54d6621a9d242b8 (diff)
downloadmongo-5a7ccd5f073341f5f98e0ced39a80416869c181b.tar.gz
Import wiredtiger: 82c3f83acae289e0ada5ab4e7fe549e47af1078e from branch mongodb-4.2
ref: afdead1093..82c3f83aca for: 4.1.9 WT-4526 Allow durable updates to be evicted to the lookaside file WT-4571 Explore performance improvement in __wt_txn_id_alloc WT-4602 Clang Tidy and Clang Scan fixes WT-4607 Allow prepared transaction to commit behind oldest timestamp WT-4619 Coverity 111398: leaked memory
Diffstat (limited to 'src/third_party/wiredtiger/src/log/log.c')
-rw-r--r--src/third_party/wiredtiger/src/log/log.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/third_party/wiredtiger/src/log/log.c b/src/third_party/wiredtiger/src/log/log.c
index 9e27a996251..10b52246987 100644
--- a/src/third_party/wiredtiger/src/log/log.c
+++ b/src/third_party/wiredtiger/src/log/log.c
@@ -571,6 +571,7 @@ __wt_log_extract_lognum(
WT_RET_MSG(session, EINVAL,
"unexpected usage: no id or no name");
if ((p = strrchr(name, '.')) == NULL ||
+ /* NOLINTNEXTLINE(cert-err34-c) */
sscanf(++p, "%" SCNu32, id) != 1)
WT_RET_MSG(session, WT_ERROR, "Bad log file name '%s'", name);
return (0);