Add handling for PREPARE entries.
This commit is contained in:
parent
944c7e984f
commit
021f28b8fd
1 changed files with 6 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue