From 7ee460e84ed5c99752dba141ea3c67290ad8bd0f Mon Sep 17 00:00:00 2001 From: Lloyd-Pottiger <60744015+Lloyd-Pottiger@users.noreply.github.com> Date: Tue, 22 Oct 2024 10:34:20 +0800 Subject: [PATCH] build: fix drawin build (#9545) ref pingcap/tiflash#6233 Signed-off-by: Lloyd-Pottiger --- dbms/src/Storages/DeltaMerge/ColumnFile/ColumnFileTiny.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dbms/src/Storages/DeltaMerge/ColumnFile/ColumnFileTiny.h b/dbms/src/Storages/DeltaMerge/ColumnFile/ColumnFileTiny.h index 2dd59ee7ba8..2c720aaf626 100644 --- a/dbms/src/Storages/DeltaMerge/ColumnFile/ColumnFileTiny.h +++ b/dbms/src/Storages/DeltaMerge/ColumnFile/ColumnFileTiny.h @@ -41,6 +41,11 @@ class ColumnFileTiny : public ColumnFilePersisted struct IndexInfo { + IndexInfo(PageIdU64 page_id, std::optional vec_index) + : index_page_id(page_id) + , vector_index(vec_index) + {} + PageIdU64 index_page_id{}; std::optional vector_index = std::nullopt; };