Skip to content

Commit

Permalink
Merge pull request #10821 from ClickHouse/fix-odbc-bridge-clickhouse
Browse files Browse the repository at this point in the history
Fix the issue with ODBC bridge and identifier_quoting_style = None #7984

(cherry picked from commit 5115ac2)
  • Loading branch information
alexey-milovidov authored and KochetovNicolai committed Jun 8, 2020
1 parent 963d822 commit a920615
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Storages/transformQueryForExternalDatabase.cpp
Expand Up @@ -199,8 +199,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);

Expand Down

0 comments on commit a920615

Please sign in to comment.