mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
Merge pull request #41105 from ClickHouse/vdimir/upd_storage_rdb_sample_block
This commit is contained in:
commit
cc7292df74
@ -523,8 +523,7 @@ Chunk StorageEmbeddedRocksDB::getByKeys(
|
||||
|
||||
Block StorageEmbeddedRocksDB::getSampleBlock(const Names &) const
|
||||
{
|
||||
auto metadata = getInMemoryMetadataPtr();
|
||||
return metadata ? metadata->getSampleBlock() : Block();
|
||||
return getInMemoryMetadataPtr()->getSampleBlock();
|
||||
}
|
||||
|
||||
Chunk StorageEmbeddedRocksDB::getBySerializedKeys(
|
||||
|
Loading…
Reference in New Issue
Block a user