mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-21 01:00:48 +00:00
ISSUES-4006 try fix bad integration test
This commit is contained in:
parent
b11f4b45a0
commit
2cbc1df3ce
@ -41,6 +41,7 @@ Pipe StorageMaterializeMySQL::read(
|
||||
database->rethrowExceptionIfNeed();
|
||||
|
||||
NameSet column_names_set = NameSet(column_names.begin(), column_names.end());
|
||||
auto lock = nested_storage->lockForShare(context.getCurrentQueryId(), context.getSettingsRef().lock_acquire_timeout);
|
||||
const StorageMetadataPtr & nested_metadata = nested_storage->getInMemoryMetadataPtr();
|
||||
|
||||
Block nested_header = nested_metadata->getSampleBlock();
|
||||
|
Loading…
Reference in New Issue
Block a user