From 315b44113c2cd72d7002ecd371fcdfd14db7e7b1 Mon Sep 17 00:00:00 2001 From: zhaobingyu <1783692558@qq.com> Date: Tue, 27 Dec 2022 15:23:53 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E9=97=AE=E9=A2=98:=20pg=5Fre?= =?UTF-8?q?setxlog=E5=B7=A5=E5=85=B7=E5=9C=A8=E6=99=AE=E9=80=9A=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=BA=93=E4=B8=8B=E6=89=A7=E8=A1=8C=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/bin/pg_resetxlog/pg_resetxlog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/pg_resetxlog/pg_resetxlog.cpp b/src/bin/pg_resetxlog/pg_resetxlog.cpp index efa9608e8..b8736e93b 100644 --- a/src/bin/pg_resetxlog/pg_resetxlog.cpp +++ b/src/bin/pg_resetxlog/pg_resetxlog.cpp @@ -264,7 +264,7 @@ int main(int argc, char* argv[]) fprintf(stderr, _("%s: socketpath cannot be set when disable dss\n"), progname); exit(1); } - if (dss.vgname == NULL) { + if (dss.vgname != NULL) { fprintf(stderr, _("%s: vgname cannot be set when disable dss\n"), progname); exit(1); }