This commit is contained in:
kssenii 2021-08-31 20:16:51 +03:00
parent 8a269d64d2
commit 185d29439b

View File

@ -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;