Skip to content

Commit

Permalink
fix clang-tidy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
stigsb committed Oct 10, 2023
1 parent a017254 commit d5d1149
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ void DatabaseMaterializedPostgreSQL::checkAlterIsPossible(const AlterDatabaseCom
auto existing_settings = *settings.get();
auto check_setting_change = [&existing_settings, &query_context](const SettingChange & change)
{
auto command = change.value.isNull() ? "RESET SETTING" : "MODIFY SETTING";
const char * command = change.value.isNull() ? "RESET SETTING" : "MODIFY SETTING";
if (change.name == "materialized_postgresql_tables_list" && !query_context->isInternalQuery())
{
throw Exception(
Expand Down

0 comments on commit d5d1149

Please sign in to comment.