From ab8149a6226c17ab04e44539fdd4a1c5f3705d17 Mon Sep 17 00:00:00 2001 From: JaySon-Huang Date: Wed, 31 Jul 2024 16:46:05 +0800 Subject: [PATCH] Format files --- dbms/src/Flash/Coprocessor/TiDBColumn.h | 1 + dbms/src/TiDB/Schema/TiDB.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/dbms/src/Flash/Coprocessor/TiDBColumn.h b/dbms/src/Flash/Coprocessor/TiDBColumn.h index c5c36b75489..2095daa9f6a 100644 --- a/dbms/src/Flash/Coprocessor/TiDBColumn.h +++ b/dbms/src/Flash/Coprocessor/TiDBColumn.h @@ -48,6 +48,7 @@ class TiDBColumn void finishAppendVar(UInt32 size); // WriteBufferFromOwnString is not moveable. std::unique_ptr data; + private: void finishAppendFixed(); bool isFixed() const { return fixed_size != VAR_SIZE; } diff --git a/dbms/src/TiDB/Schema/TiDB.h b/dbms/src/TiDB/Schema/TiDB.h index 4d1f033564f..84efebea820 100644 --- a/dbms/src/TiDB/Schema/TiDB.h +++ b/dbms/src/TiDB/Schema/TiDB.h @@ -137,6 +137,7 @@ enum ColumnFlag // Codec flags. // In format: TiDB codec flag, int value. +// Defined in pingcap/tidb pkg/util/codec/codec.go #ifdef M #error "Please undefine macro M first." #endif @@ -155,7 +156,6 @@ enum ColumnFlag M(VectorFloat32, 20) \ M(Max, 250) -// Defined in pingcap/tidb pkg/util/codec/codec.go enum CodecFlag { #ifdef M