summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorSusan LoVerso <sue@wiredtiger.com>2015-05-27 10:53:15 -0400
committerSusan LoVerso <sue@wiredtiger.com>2015-05-27 10:53:15 -0400
commit78a2e9c80a1287a07983fa1b0351f1dcf08e0b22 (patch)
tree71625bdee5bafe1ac088e085cd158714a1a84f13 /examples
parent6b907a2150d17a6632c8cdf9d7150e49e64eed72 (diff)
downloadmongo-78a2e9c80a1287a07983fa1b0351f1dcf08e0b22.tar.gz
Refactor setting background sync LSN to its own functions. WT-1908
Diffstat (limited to 'examples')
-rw-r--r--examples/c/ex_sync.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/c/ex_sync.c b/examples/c/ex_sync.c
index 4d66906d10a..832ed1faf56 100644
--- a/examples/c/ex_sync.c
+++ b/examples/c/ex_sync.c
@@ -83,7 +83,8 @@ main(void)
if (i == MAX_KEYS/2) {
ret = session->commit_transaction(
session, "sync=background");
- ret = session->transaction_sync(session, "timeout_ms=0");
+ ret = session->transaction_sync(
+ session, "timeout_ms=0");
if (ret == ETIMEDOUT)
printf("Transactions not yet stable\n");
else if (ret != 0)