diff options
author | Vitaly Stoyan <vitstn@gmail.com> | 2022-05-23 16:59:36 +0300 |
---|---|---|
committer | Vitaly Stoyan <vitstn@gmail.com> | 2022-05-23 16:59:36 +0300 |
commit | 04600e854650ea1168cb5b27c108662b9be56478 (patch) | |
tree | a9348f7498739ffd3c747434ba3f7b3b628bed51 | |
parent | 0aa231fc39b3afea93bd53ec2d7702c24a1a4acc (diff) | |
download | ydb-04600e854650ea1168cb5b27c108662b9be56478.tar.gz |
fix type printing
Note: mandatory check (NEED_CHECK) was skipped
ref:caa706ef77b8f709c327ec70b1bb18cdbd41e6a3
-rw-r--r-- | ydb/library/yql/parser/pg_catalog/catalog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ydb/library/yql/parser/pg_catalog/catalog.cpp b/ydb/library/yql/parser/pg_catalog/catalog.cpp index a7688935b4..b5e880a056 100644 --- a/ydb/library/yql/parser/pg_catalog/catalog.cpp +++ b/ydb/library/yql/parser/pg_catalog/catalog.cpp @@ -57,7 +57,7 @@ TString ArgTypesList(const TVector<ui32>& ids) { str << ','; } - str << ids[i] ? LookupType(ids[i]).Name : "NULL"; + str << (ids[i] ? LookupType(ids[i]).Name : "NULL"); } str << ')'; @@ -1141,7 +1141,7 @@ const TProcDesc& LookupProc(ui32 procId, const TVector<ui32>& argTypeIds) { } if (!ValidateProcArgs(*procPtr, argTypeIds)) { - throw yexception() << "Unable to find an overload for proc with oid " << procId << " with given argument types:" << + throw yexception() << "Unable to find an overload for proc with oid " << procId << " with given argument types: " << ArgTypesList(argTypeIds); } @@ -1165,7 +1165,7 @@ const TProcDesc& LookupProc(const TString& name, const TVector<ui32>& argTypeIds return *d; } - throw yexception() << "Unable to find an overload for proc " << name << " with given argument types:" + throw yexception() << "Unable to find an overload for proc " << name << " with given argument types: " << ArgTypesList(argTypeIds); } |