From a361d8f4a3bb4977673fcaf04f43a92919dfe155 Mon Sep 17 00:00:00 2001 From: lilong Date: Wed, 4 Jan 2023 15:06:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8=E7=A9=BA=E6=A0=BC=E9=94=AE?= =?UTF-8?q?=E4=BB=A3=E6=9B=BFtab?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/gausskernel/optimizer/commands/copy.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gausskernel/optimizer/commands/copy.cpp b/src/gausskernel/optimizer/commands/copy.cpp index 776253ab3..da593db46 100644 --- a/src/gausskernel/optimizer/commands/copy.cpp +++ b/src/gausskernel/optimizer/commands/copy.cpp @@ -8452,9 +8452,9 @@ bool StrToInt32(const char* s, int *val) return false; int8 digit = (*ptr++ - '0'); _val = _val * base + digit; - if (_val > PG_INT32_MAX || _val < PG_INT32_MIN) { - return false; - } + if (_val > PG_INT32_MAX || _val < PG_INT32_MIN) { + return false; + } } *val = (int)_val; return true;