Fix the issue with ODBC bridge and identifier_quoting_style = None #7984

This commit is contained in:
Alexey Milovidov 2020-05-11 23:05:08 +03:00
parent caced89773
commit 25cf842491

View File

@ -194,8 +194,8 @@ String transformQueryForExternalDatabase(
std::stringstream out;
IAST::FormatSettings settings(out, true);
settings.always_quote_identifiers = true;
settings.identifier_quoting_style = identifier_quoting_style;
settings.always_quote_identifiers = identifier_quoting_style != IdentifierQuotingStyle::None;
select->format(settings);