diff options
| author | Vitaly Stoyan <[email protected]> | 2022-06-14 20:25:31 +0300 |
|---|---|---|
| committer | Vitaly Stoyan <[email protected]> | 2022-06-14 20:25:31 +0300 |
| commit | b9df4aa6e60fc28e81d4b6c4fa57b7333fc3fdc6 (patch) | |
| tree | 8ea1950e5da82a45a9f4f071fa7ad0c559b59070 | |
| parent | f69d2f9d420e1446daebc94fbdd6132570dab5e3 (diff) | |
fixed typo
Note: mandatory check (NEED_CHECK) was skipped
ref:6c27ff304461f0b01fbdc973e28e8cec2e197c48
| -rw-r--r-- | ydb/library/yql/core/common_opt/yql_co_simple1.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/library/yql/core/common_opt/yql_co_simple1.cpp b/ydb/library/yql/core/common_opt/yql_co_simple1.cpp index d1a867cb3c4..4e6a21a5345 100644 --- a/ydb/library/yql/core/common_opt/yql_co_simple1.cpp +++ b/ydb/library/yql/core/common_opt/yql_co_simple1.cpp @@ -6475,7 +6475,7 @@ void RegisterCoSimpleCallables1(TCallableOptimizerMap& map) { if (node->Head().IsCallable("PgConst")) { auto name = node->Head().GetTypeAnn()->Cast<TPgExprType>()->GetName(); - if (name = "bool") { + if (name == "bool") { auto value = node->Head().Head().Content(); if (value.StartsWith('t') || value.StartsWith('f')) { return ctx.Builder(node->Pos()) |
