aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvvvv <vvvv@ydb.tech>2023-09-11 12:48:50 +0300
committervvvv <vvvv@ydb.tech>2023-09-11 13:07:35 +0300
commit23f5a6a49b2089d9cc5555e5d53bedce547af738 (patch)
tree67356f2b7eb32238c6b40c1813f91674aa3351a3
parent8a55588984e2afd906e301df0f471d50b08914c9 (diff)
downloadydb-23f5a6a49b2089d9cc5555e5d53bedce547af738.tar.gz
prevent crash on catalog search
-rw-r--r--ydb/library/yql/parser/pg_wrapper/postgresql/src/backend/utils/cache/catcache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ydb/library/yql/parser/pg_wrapper/postgresql/src/backend/utils/cache/catcache.c b/ydb/library/yql/parser/pg_wrapper/postgresql/src/backend/utils/cache/catcache.c
index b216464086..7c9d9bf8f2 100644
--- a/ydb/library/yql/parser/pg_wrapper/postgresql/src/backend/utils/cache/catcache.c
+++ b/ydb/library/yql/parser/pg_wrapper/postgresql/src/backend/utils/cache/catcache.c
@@ -1204,6 +1204,7 @@ SearchCatCacheInternal(CatCache *cache,
Datum v3,
Datum v4)
{
+ return NULL;
Datum arguments[CATCACHE_MAXKEYS];
uint32 hashValue;
Index hashIndex;