mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-19 04:42:37 +00:00
Fix crash in StorageObjectStorageQueue
This commit is contained in:
parent
b3dd5431ba
commit
7592f9d2db
@ -204,6 +204,7 @@ StorageObjectStorageQueue::StorageObjectStorageQueue(
|
|||||||
storage_metadata.setColumns(columns);
|
storage_metadata.setColumns(columns);
|
||||||
storage_metadata.setConstraints(constraints_);
|
storage_metadata.setConstraints(constraints_);
|
||||||
storage_metadata.setComment(comment);
|
storage_metadata.setComment(comment);
|
||||||
|
if (engine_args->settings)
|
||||||
storage_metadata.settings_changes = engine_args->settings->ptr();
|
storage_metadata.settings_changes = engine_args->settings->ptr();
|
||||||
setVirtuals(VirtualColumnUtils::getVirtualsForFileLikeStorage(storage_metadata.columns, context_));
|
setVirtuals(VirtualColumnUtils::getVirtualsForFileLikeStorage(storage_metadata.columns, context_));
|
||||||
setInMemoryMetadata(storage_metadata);
|
setInMemoryMetadata(storage_metadata);
|
||||||
|
Loading…
Reference in New Issue
Block a user