Skip to content

Commit

Permalink
Fix compilation on Mac.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitaly Baranov committed Feb 12, 2019
1 parent 0b084ba commit ef6b200
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dbms/src/Columns/ColumnDecimal.h
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ template <typename T>
template <typename Type>
ColumnPtr ColumnDecimal<T>::indexImpl(const PaddedPODArray<Type> & indexes, UInt64 limit) const
{
size_t size = indexes.size();
UInt64 size = indexes.size();

if (limit == 0)
limit = size;
Expand Down
2 changes: 1 addition & 1 deletion dbms/src/Columns/ColumnVector.h
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ template <typename T>
template <typename Type>
ColumnPtr ColumnVector<T>::indexImpl(const PaddedPODArray<Type> & indexes, UInt64 limit) const
{
size_t size = indexes.size();
UInt64 size = indexes.size();

if (limit == 0)
limit = size;
Expand Down
6 changes: 3 additions & 3 deletions dbms/src/Columns/IColumnUnique.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class IColumnUnique : public IColumn
throw Exception("Method deserializeAndInsertFromArena is not supported for ColumnUnique.", ErrorCodes::NOT_IMPLEMENTED);
}

ColumnPtr index(const IColumn &, size_t) const override
ColumnPtr index(const IColumn &, UInt64) const override
{
throw Exception("Method index is not supported for ColumnUnique.", ErrorCodes::NOT_IMPLEMENTED);
}
Expand All @@ -114,7 +114,7 @@ class IColumnUnique : public IColumn
throw Exception("Method filter is not supported for ColumnUnique.", ErrorCodes::NOT_IMPLEMENTED);
}

ColumnPtr permute(const IColumn::Permutation &, size_t) const override
ColumnPtr permute(const IColumn::Permutation &, UInt64) const override
{
throw Exception("Method permute is not supported for ColumnUnique.", ErrorCodes::NOT_IMPLEMENTED);
}
Expand All @@ -124,7 +124,7 @@ class IColumnUnique : public IColumn
throw Exception("Method replicate is not supported for ColumnUnique.", ErrorCodes::NOT_IMPLEMENTED);
}

void getPermutation(bool, size_t, int, IColumn::Permutation &) const override
void getPermutation(bool, UInt64, int, IColumn::Permutation &) const override
{
throw Exception("Method getPermutation is not supported for ColumnUnique.", ErrorCodes::NOT_IMPLEMENTED);
}
Expand Down
2 changes: 1 addition & 1 deletion dbms/src/Storages/IStorage.h
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ class IStorage : public std::enable_shared_from_this<IStorage>, private boost::n
const SelectQueryInfo & /*query_info*/,
const Context & /*context*/,
QueryProcessingStage::Enum /*processed_stage*/,
size_t /*max_block_size*/,
UInt64 /*max_block_size*/,
unsigned /*num_streams*/)
{
throw Exception("Method read is not supported by storage " + getName(), ErrorCodes::NOT_IMPLEMENTED);
Expand Down

0 comments on commit ef6b200

Please sign in to comment.