diff options
author | Michael Cahill <michael.cahill@wiredtiger.com> | 2014-08-01 16:44:52 +1000 |
---|---|---|
committer | Michael Cahill <michael.cahill@wiredtiger.com> | 2014-08-01 16:44:52 +1000 |
commit | 905f7cae56c345431d7f8548a6b225ed8c5d2be3 (patch) | |
tree | b2bfb8067424442fb0b77486be3064ba1f3d4167 /examples | |
parent | 1bb69589908a2666f5996ae5ff2a593c427a9529 (diff) | |
download | mongo-905f7cae56c345431d7f8548a6b225ed8c5d2be3.tar.gz |
Visit all log record headers (including commits) at step zero.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/c/ex_log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/c/ex_log.c b/examples/c/ex_log.c index 76f5c37c91e..edd96182140 100644 --- a/examples/c/ex_log.c +++ b/examples/c/ex_log.c @@ -149,7 +149,7 @@ walk_log(WT_SESSION *session) * If we are in a transaction and this is a new one, end * the previous one. */ - if (in_txn && (opcount == 0 || opcount == 1)) { + if (in_txn && opcount == 0) { ret = session2->commit_transaction(session2, NULL); in_txn = 0; } |