Add handling for PREPARE entries.

This commit is contained in:
Sears Russell 2008-09-24 03:10:49 +00:00
parent 944c7e984f
commit 021f28b8fd

View file

@ -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: