Skip to content

Commit

Permalink
Merge pull request ClickHouse#10821 from ClickHouse/fix-odbc-bridge-c…
Browse files Browse the repository at this point in the history
…lickhouse

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

(cherry picked from commit 5115ac2)
  • Loading branch information
alexey-milovidov authored and abyss7 committed May 18, 2020
1 parent 149d2b7 commit c3c022d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Storages/transformQueryForExternalDatabase.cpp
Expand Up @@ -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);

Expand Down

0 comments on commit c3c022d

Please sign in to comment.