summaryrefslogtreecommitdiff
path: root/src/log/log_print.c
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2015-02-17 17:25:57 +0000
committer <>2015-03-17 16:26:24 +0000
commit780b92ada9afcf1d58085a83a0b9e6bc982203d1 (patch)
tree598f8b9fa431b228d29897e798de4ac0c1d3d970 /src/log/log_print.c
parent7a2660ba9cc2dc03a69ddfcfd95369395cc87444 (diff)
downloadberkeleydb-master.tar.gz
Imported from /home/lorry/working-area/delta_berkeleydb/db-6.1.23.tar.gz.HEADdb-6.1.23master
Diffstat (limited to 'src/log/log_print.c')
-rw-r--r--src/log/log_print.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/log/log_print.c b/src/log/log_print.c
index d2cda519..e5c920b6 100644
--- a/src/log/log_print.c
+++ b/src/log/log_print.c
@@ -1,7 +1,7 @@
/*-
* See the file LICENSE for redistribution information.
*
- * Copyright (c) 1996, 2012 Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1996, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
@@ -37,6 +37,7 @@ __log_print_record(env, recbuf, lsnp, name, spec, info)
LOG *lp;
PAGE *hdrstart, *hdrtmp;
int32_t inttmp;
+ u_int64_t ulltmp;
u_int32_t hdrsize, op, uinttmp;
u_int32_t type, txnid;
u_int8_t *bp, *datatmp;
@@ -150,6 +151,14 @@ __log_print_record(env, recbuf, lsnp, name, spec, info)
__db_msgadd(env, &msgbuf, "\n");
bp += sizeof(uinttmp);
break;
+ case LOGREC_LONGARG:
+ LOGCOPY_64(env, &ulltmp, bp);
+ __db_msgadd(env, &msgbuf, "\t%s: ", sp->name);
+ __db_msgadd(env,
+ &msgbuf, "%llu", (unsigned long long)ulltmp);
+ __db_msgadd(env, &msgbuf, "\n");
+ bp += sizeof(ulltmp);
+ break;
case LOGREC_TIME:
/* time_t is long but we only store 32 bits. */
LOGCOPY_32(env, &uinttmp, bp);