Remove global variable "LastRec" in xlog.c

Michael Paquier <michael@paquier.xyz>

Commit: f975fc3a3542005ed0dd689bdb5bd9ed4e1f4d52
Author: Michael Paquier <michael@paquier.xyz>
Date: 2021-11-17T02:04:18Z
Releases: 15.0
Remove global variable "LastRec" in xlog.c

This variable is used only by StartupXLOG() now, so let's make it local
to simplify the code.

Author: Amul Sul
Reviewed-by: Tom Lane, Michael Paquier
Discussion: https://postgr.es/m/CAAJ_b96Qd023itERBRN9Z7P2saNDT3CYvGuMO8RXwndVNN6z7g@mail.gmail.com

Files

PathChange+/−
src/backend/access/transam/xlog.c modified +1 −2

Discussion