From 34f2590bb40155c48cca6c9eb57e2284d68d607a Mon Sep 17 00:00:00 2001 From: lilong Date: Thu, 5 Jan 2023 14:42:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=87=BD=E6=95=B0GssClientInit=E5=86=85?= =?UTF-8?q?=E9=83=A8=E5=87=BA=E9=94=99=E8=BF=94=E5=9B=9E=E5=89=8D=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E9=87=8A=E6=94=BE=E9=94=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/backend/libpq/auth.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/backend/libpq/auth.cpp b/src/common/backend/libpq/auth.cpp index b03c9a7f5..de2632d89 100644 --- a/src/common/backend/libpq/auth.cpp +++ b/src/common/backend/libpq/auth.cpp @@ -2228,6 +2228,7 @@ retry_init: krbconfig = gs_getenv_r("MPPDB_KRB5_FILE_PATH"); if (krbconfig != NULL) { if (realpath(krbconfig, real_krbconfig) == NULL) { + (void)syscalllockRelease(&kerberos_conn_lock); return -1; } check_backend_env(real_krbconfig);