Skip to content

Commit a029e19

Browse files
committed
fix bug in prepare record parsing
1 parent d60c9c8 commit a029e19

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/backend/access/transam/twophase.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1304,6 +1304,7 @@ ParsePrepareRecord(uint8 info, char *xlrec, xl_xact_parsed_prepare *parsed)
13041304
*/
13051305

13061306
parsed->xinfo = 0;
1307+
bufptr = xlrec + hdr->total_len - sizeof(pg_crc32c);
13071308

13081309
if (info & XLOG_XACT_HAS_INFO)
13091310
{

0 commit comments

Comments
 (0)