Update StorageSystemTables.cpp

This commit is contained in:
alexey-milovidov 2020-06-23 22:28:26 +03:00 committed by GitHub
parent 4185fe9975
commit 33dfbdcbe9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -403,7 +403,7 @@ protected:
if (columns_mask[src_index++])
{
assert(metadata_snapshot != nullptr);
assert(table != nullptr);
auto policy = table->getStoragePolicy();
if (policy)
res_columns[res_index++]->insert(policy->getName());