Skip to content

Commit

Permalink
Fix compile error in clang tidy build
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangjmruc committed Jul 4, 2022
1 parent 7ebf974 commit 716928c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Interpreters/MutationsInterpreter.h
Expand Up @@ -88,7 +88,7 @@ class MutationsInterpreter
struct Stage;

ASTPtr prepareInterpreterSelectQuery(std::vector<Stage> &prepared_stages, bool dry_run);
ASTPtr prepareInterpreterSelectQueryLightweight(std::vector<Stage> &prepared_stages, bool dry_run);
static ASTPtr prepareInterpreterSelectQueryLightweight(std::vector<Stage> &prepared_stages, bool dry_run);

QueryPipelineBuilder addStreamsForLaterStages(const std::vector<Stage> & prepared_stages, QueryPlan & plan) const;

Expand Down
2 changes: 1 addition & 1 deletion src/Storages/MergeTree/MergeTreeDataPartDeletedMask.cpp
Expand Up @@ -31,7 +31,7 @@ struct HashValue

public:
HashValue() = default;
HashValue(SipHash & hasher)
explicit HashValue(SipHash & hasher)
{
hasher.get128(value);

Expand Down
2 changes: 1 addition & 1 deletion src/Storages/MergeTree/MutateTask.cpp
Expand Up @@ -626,7 +626,7 @@ struct MutationContext
MergeTreeData::DataPartPtr source_part;

StoragePtr storage_from_source_part;
bool is_lightweight_mutation{0};
bool is_lightweight_mutation{false};

StorageMetadataPtr metadata_snapshot;

Expand Down

0 comments on commit 716928c

Please sign in to comment.