Small xlog.c cleanup
От | Matthew Kirkwood |
---|---|
Тема | Small xlog.c cleanup |
Дата | |
Msg-id | Pine.LNX.4.10.10102271717420.713-100000@sphinx.mythic-beasts.com обсуждение исходный текст |
Ответы |
Re: Small xlog.c cleanup
|
Список | pgsql-patches |
Hi, Here's a teeny-tiny cleanup (and thus comprehensibility fix) for xlog.c. Matthew. --- /home/matthew/xlog.c Tue Feb 27 17:12:24 2001 +++ xlog.c Tue Feb 27 17:16:04 2001 @@ -282,10 +282,6 @@ static XLogRecPtr ReadRecPtr; static XLogRecPtr EndRecPtr; -static int readFile = -1; -static uint32 readId = 0; -static uint32 readSeg = 0; -static uint32 readOff = 0; static char readBuf[BLCKSZ]; static XLogRecord *nextRecord = NULL; @@ -1214,6 +1210,10 @@ bool nextmode = (RecPtr == NULL); int emode = (nextmode) ? LOG : STOP; bool noBlck = false; + static int readFile = -1; + static uint32 readId = 0; + static uint32 readSeg = 0; + static uint32 readOff = 0; if (nextmode) {
В списке pgsql-patches по дате отправления: