From c56da72935957a18c2e7b24a677bf6fd42477c82 Mon Sep 17 00:00:00 2001 From: wenger Date: Thu, 4 Aug 2022 05:13:59 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=A2=9E=E9=87=8Fbuild?= =?UTF-8?q?=E6=97=B6=E5=AE=9E=E9=99=85=E5=8F=91=E7=94=9F=E5=85=A8=E9=87=8F?= =?UTF-8?q?build=E7=9A=84=E7=BC=BA=E9=99=B7=20=E5=A2=9E=E9=87=8Fbuild?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E4=BC=9A=E8=AE=A1=E7=AE=97=E6=BA=90=E7=AB=AF?= =?UTF-8?q?=E4=B8=8E=E7=9B=AE=E6=A0=87=E7=AB=AF=E7=9A=84=E5=B7=AE=E5=BC=82?= =?UTF-8?q?=EF=BC=8C=E6=AD=A4=E5=A4=84=E6=B2=A1=E6=9C=89=E5=AF=B9=E7=9B=AE?= =?UTF-8?q?=E6=A0=87=E7=AB=AF=E6=96=87=E4=BB=B6=E5=A4=A7=E5=B0=8F=E8=BF=9B?= =?UTF-8?q?=E8=A1=8C=E8=B5=8B=E5=80=BC(=E5=8D=B3oldsize)=E5=8F=98=E9=87=8F?= =?UTF-8?q?=EF=BC=8Coldsize=E9=BB=98=E8=AE=A4=E4=B8=BA0=EF=BC=8C=E8=BF=99?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E5=AE=9E=E9=99=85=E5=8F=91=E7=94=9F=E4=BA=86?= =?UTF-8?q?=E5=85=A8=E9=87=8Fbuild?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/bin/pg_rewind/filemap.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/pg_rewind/filemap.cpp b/src/bin/pg_rewind/filemap.cpp index 5b4b3647c..f9652cb06 100755 --- a/src/bin/pg_rewind/filemap.cpp +++ b/src/bin/pg_rewind/filemap.cpp @@ -506,6 +506,7 @@ void process_source_file(const char* path, file_type_t type, size_t newsize, con * replayed. */ /* mod blocksize 8k to avoid half page write */ + oldsize = statbuf.oldsize; RewindCompressInfo oldRewindCompressInfo; bool sourceCompressed = info != NULL; bool targetCompressed = isreldatafile && ProcessLocalPca(path, &oldRewindCompressInfo, pg_data);