Update src/Storages/transformQueryForExternalDatabase.cpp

Co-authored-by: Sema Checherinda <104093494+CheSema@users.noreply.github.com>
This commit is contained in:
flynn 2023-11-08 23:20:12 +08:00 committed by GitHub
parent 399d61b222
commit d0ba561faa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -315,7 +315,7 @@ String transformQueryForExternalDatabaseImpl(
{
replaceConstantExpressions(original_where, context, available_columns);
/// Replace like WHERE 1 AND 1 to WHRE 1 = 1 AND 1 = 1
/// Replace like WHERE 1 AND 1 to WHERE 1 = 1 AND 1 = 1
ReplaceLiteralToExprVisitor::Data replace_literal_to_expr_data;
ReplaceLiteralToExprVisitor(replace_literal_to_expr_data).visit(original_where);