Fix build

This commit is contained in:
kssenii 2023-12-28 13:49:49 +01:00
parent 234e13ac7e
commit 3d2e95dbf5

View File

@ -332,7 +332,7 @@ static IMergeTreeDataPart::Checksums checkDataPart(
if (throw_on_broken_projection && !broken_projections_message.empty())
{
throw Exception(ErrorCodes::BROKEN_PROJECTION, broken_projections_message.data());
throw Exception(ErrorCodes::BROKEN_PROJECTION, "{}", broken_projections_message);
}
if (require_checksums && !projections_on_disk.empty())