From 021f28b8fdac256851eb7d44328ae9451c8b8790 Mon Sep 17 00:00:00 2001 From: Sears Russell Date: Wed, 24 Sep 2008 03:10:49 +0000 Subject: [PATCH] Add handling for PREPARE entries. --- utilities/logfile_dump.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/utilities/logfile_dump.c b/utilities/logfile_dump.c index 92bb9c5..3f595e6 100644 --- a/utilities/logfile_dump.c +++ b/utilities/logfile_dump.c @@ -33,6 +33,12 @@ static char * logEntryToString(const LogEntry * le) { { asprintf(&ret, "ABORT\tlsn=%9lld\tprevlsn=%9lld\txid=%4d\n", le->LSN, le->prevLSN, le->xid); + } + break; + case XPREPARE: + { + asprintf(&ret, "PREPARE\tlsn=%9lld\tprevlsn=%9lld\txid=%4d,reclsn=%9lld\n", le->LSN, le->prevLSN, le->xid, getPrepareRecLSN(le)); + } break; case XEND: