Update StorageTinyLog.cpp

This commit is contained in:
alexey-milovidov 2021-01-16 11:53:28 +03:00 committed by GitHub
parent 78fff6bc39
commit e32b1e3fe6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -307,11 +307,11 @@ void TinyLogBlockOutputStream::writeData(const NameAndTypePair & name_and_type,
/// Use different WrittenStreams set, or we get nullptr for them in `serializeBinaryBulkWithMultipleStreams` /// Use different WrittenStreams set, or we get nullptr for them in `serializeBinaryBulkWithMultipleStreams`
WrittenStreams prefix_written_streams; WrittenStreams prefix_written_streams;
settings.getter = createStreamGetter(name_and_type, prefix_written_streams); settings.getter = createStreamGetter(name_and_type, prefix_written_streams);
type.serializeBinaryBulkStatePrefix(settings, serialize_states[name]); type->serializeBinaryBulkStatePrefix(settings, serialize_states[name]);
} }
settings.getter = createStreamGetter(name_and_type, written_streams); settings.getter = createStreamGetter(name_and_type, written_streams);
type.serializeBinaryBulkWithMultipleStreams(column, 0, 0, settings, serialize_states[name]); type->serializeBinaryBulkWithMultipleStreams(column, 0, 0, settings, serialize_states[name]);
} }