diff options
Diffstat (limited to 'examples/c/ex_encrypt.c')
-rw-r--r-- | examples/c/ex_encrypt.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/c/ex_encrypt.c b/examples/c/ex_encrypt.c index 425ee6b7287..c53a61c92ea 100644 --- a/examples/c/ex_encrypt.c +++ b/examples/c/ex_encrypt.c @@ -389,16 +389,15 @@ simple_walk_log(WT_SESSION *session) { WT_CURSOR *cursor; WT_ITEM logrec_key, logrec_value; - WT_LSN lsn; uint64_t txnid; - uint32_t fileid, opcount, optype, rectype; + uint32_t fileid, log_file, log_offset, opcount, optype, rectype; int found, ret; ret = session->open_cursor(session, "log:", NULL, NULL, &cursor); found = 0; while ((ret = cursor->next(cursor)) == 0) { - ret = cursor->get_key(cursor, &lsn.file, &lsn.offset, &opcount); + ret = cursor->get_key(cursor, &log_file, &log_offset, &opcount); ret = cursor->get_value(cursor, &txnid, &rectype, &optype, &fileid, &logrec_key, &logrec_value); |