mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-26 19:50:51 +00:00
Fix
This commit is contained in:
parent
8a269d64d2
commit
185d29439b
@ -140,6 +140,13 @@ public:
|
||||
bool isView() const override { return false; }
|
||||
void checkTableCanBeDropped() const override {}
|
||||
|
||||
StoragePolicyPtr getStoragePolicy() const override
|
||||
{
|
||||
if (nested)
|
||||
return StorageProxy::getStoragePolicy();
|
||||
return IStorage::getStoragePolicy();
|
||||
}
|
||||
|
||||
private:
|
||||
mutable std::mutex nested_mutex;
|
||||
mutable GetNestedStorageFunc get_nested;
|
||||
|
Loading…
Reference in New Issue
Block a user