diff options
author | Michael Cahill <michael.cahill@mongodb.com> | 2015-06-24 21:35:48 +1000 |
---|---|---|
committer | Michael Cahill <michael.cahill@mongodb.com> | 2015-06-24 21:35:48 +1000 |
commit | 21a31db840ca85e98fde9b995e3d7cc9b6e5f63f (patch) | |
tree | c68d02194e4f7bce97bb26268817837be7b2b608 /src/include/txn.h | |
parent | 74271fa733f4381084702d94ae5ef2f600dcb8b6 (diff) | |
download | mongo-21a31db840ca85e98fde9b995e3d7cc9b6e5f63f.tar.gz |
WT-1977 Improve the performance of getting snapshots with many sessions.
Diffstat (limited to 'src/include/txn.h')
-rw-r--r-- | src/include/txn.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/txn.h b/src/include/txn.h index f44a02cc332..5f56ba4b03c 100644 --- a/src/include/txn.h +++ b/src/include/txn.h @@ -21,7 +21,7 @@ ((t1) <= (t2)) #define WT_TXNID_LT(t1, t2) \ - ((t1) != (t2) && WT_TXNID_LE(t1, t2)) + ((t1) < (t2)) #define WT_SESSION_TXN_STATE(s) (&S2C(s)->txn_global.states[(s)->id]) |