From 3d2e95dbf5f81185d2a091d5e58490f66ed04bef Mon Sep 17 00:00:00 2001 From: kssenii Date: Thu, 28 Dec 2023 13:49:49 +0100 Subject: [PATCH] Fix build --- src/Storages/MergeTree/checkDataPart.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Storages/MergeTree/checkDataPart.cpp b/src/Storages/MergeTree/checkDataPart.cpp index ea46b6f0d56..5b60f0a7fc2 100644 --- a/src/Storages/MergeTree/checkDataPart.cpp +++ b/src/Storages/MergeTree/checkDataPart.cpp @@ -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())