forked from huawei/openGauss-server
bug fix: use wrong log type
This commit is contained in:
parent
47b3c1f212
commit
ffc11e12de
|
|
@ -428,7 +428,7 @@ XLogRecParseState* xact_xlog_abort_parse_to_block(XLogReaderState* record, XLogR
|
|||
|
||||
xl_xact_abort* xlrec = NULL;
|
||||
int nsubxacts = 0;
|
||||
if (info == XLOG_XACT_COMMIT) {
|
||||
if (info == XLOG_XACT_ABORT) {
|
||||
xlrec = (xl_xact_abort*)XLogRecGetData(record);
|
||||
} else {
|
||||
xl_xact_abort_prepared* xlrecpre = (xl_xact_abort_prepared*)XLogRecGetData(record);
|
||||
|
|
|
|||
Loading…
Reference in New Issue