Skip to content

Commit

Permalink
Update MergeTreeData.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-milovidov committed May 15, 2017
1 parent 6262fc8 commit e7b7f6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbms/src/Storages/MergeTree/MergeTreeData.cpp
Expand Up @@ -1612,7 +1612,7 @@ void MergeTreeData::addPartContributionToColumnSizes(const DataPartPtr & part)
}
}

inline void logSubtract(size_t & from, size_t value, Logger * log, const String & variable)
static inline void logSubtract(size_t & from, size_t value, Logger * log, const String & variable)
{
if (value > from)
LOG_ERROR(log, "Possibly incorrect subtraction: " << from << " - " << value << " = " << from - value << ", variable " << variable);
Expand Down

0 comments on commit e7b7f6f

Please sign in to comment.