Skip to content

Commit

Permalink
Format files
Browse files Browse the repository at this point in the history
  • Loading branch information
JaySon-Huang committed Jul 31, 2024
1 parent 4492abb commit ab8149a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions dbms/src/Flash/Coprocessor/TiDBColumn.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ class TiDBColumn
void finishAppendVar(UInt32 size);
// WriteBufferFromOwnString is not moveable.
std::unique_ptr<WriteBufferFromOwnString> data;

private:
void finishAppendFixed();
bool isFixed() const { return fixed_size != VAR_SIZE; }
Expand Down
2 changes: 1 addition & 1 deletion dbms/src/TiDB/Schema/TiDB.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit ab8149a

Please sign in to comment.