diff options
author | Billy Donahue <billy.donahue@mongodb.com> | 2021-02-16 01:15:53 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-03-18 04:03:22 +0000 |
commit | fad9de4ece9f5399acc804f206e40621930be5af (patch) | |
tree | 0a1dd3202e0d8ad0cc93a58c03d3519fba2abd23 /src/mongo/db/storage | |
parent | 61df6d3c9a0a6658613d2ef9bcfb28bd14224acf (diff) | |
download | mongo-fad9de4ece9f5399acc804f206e40621930be5af.tar.gz |
SERVER-54596 remove 1-arg shouldLog function (an ODR violation)
Diffstat (limited to 'src/mongo/db/storage')
-rw-r--r-- | src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.cpp b/src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.cpp index 738c2d432e8..6e47bba47fc 100644 --- a/src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.cpp +++ b/src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.cpp @@ -565,7 +565,7 @@ void WiredTigerRecoveryUnit::_txnOpen() { _ensureSession(); // Only start a timer for transaction's lifetime if we're going to log it. - if (shouldLog(kSlowTransactionSeverity)) { + if (shouldLog(MONGO_LOGV2_DEFAULT_COMPONENT, kSlowTransactionSeverity)) { _timer.reset(new Timer()); } WT_SESSION* session = _session->getSession(); |