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,7 +204,8 @@ StorageObjectStorageQueue::StorageObjectStorageQueue(
|
||||
storage_metadata.setColumns(columns);
|
||||
storage_metadata.setConstraints(constraints_);
|
||||
storage_metadata.setComment(comment);
|
||||
storage_metadata.settings_changes = engine_args->settings->ptr();
|
||||
if (engine_args->settings)
|
||||
storage_metadata.settings_changes = engine_args->settings->ptr();
|
||||
setVirtuals(VirtualColumnUtils::getVirtualsForFileLikeStorage(storage_metadata.columns, context_));
|
||||
setInMemoryMetadata(storage_metadata);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user