mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 01:22:04 +00:00
Fix build
This commit is contained in:
parent
b536653851
commit
14b87feb27
@ -206,7 +206,7 @@ bool IStorage::isReadOnly() const
|
||||
auto storage_policy = getStoragePolicy();
|
||||
if (storage_policy)
|
||||
{
|
||||
for (const auto disk : storage_policy->getDisks())
|
||||
for (const auto & disk : storage_policy->getDisks())
|
||||
if (!disk->isReadOnly())
|
||||
return false;
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user