Skip to content

Commit

Permalink
infoschema: fix TABLE_ID size in TIFLASH_xxx (#48329)
Browse files Browse the repository at this point in the history
ref #48323
  • Loading branch information
shawn0915 committed Apr 28, 2024
1 parent c73d6c5 commit 5598bde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/infoschema/tables.go
Original file line number Diff line number Diff line change
Expand Up @@ -1407,7 +1407,7 @@ var tableTableTiFlashTablesCols = []columnInfo{
{name: "TABLE", tp: mysql.TypeVarchar, size: 64},
{name: "TIDB_DATABASE", tp: mysql.TypeVarchar, size: 64},
{name: "TIDB_TABLE", tp: mysql.TypeVarchar, size: 64},
{name: "TABLE_ID", tp: mysql.TypeLonglong, size: 64},
{name: "TABLE_ID", tp: mysql.TypeLonglong, size: 21},
{name: "IS_TOMBSTONE", tp: mysql.TypeLonglong, size: 64},
{name: "SEGMENT_COUNT", tp: mysql.TypeLonglong, size: 64},
{name: "TOTAL_ROWS", tp: mysql.TypeLonglong, size: 64},
Expand Down Expand Up @@ -1464,7 +1464,7 @@ var tableTableTiFlashSegmentsCols = []columnInfo{
{name: "TABLE", tp: mysql.TypeVarchar, size: 64},
{name: "TIDB_DATABASE", tp: mysql.TypeVarchar, size: 64},
{name: "TIDB_TABLE", tp: mysql.TypeVarchar, size: 64},
{name: "TABLE_ID", tp: mysql.TypeLonglong, size: 64},
{name: "TABLE_ID", tp: mysql.TypeLonglong, size: 21},
{name: "IS_TOMBSTONE", tp: mysql.TypeLonglong, size: 64},
{name: "SEGMENT_ID", tp: mysql.TypeLonglong, size: 64},
{name: "RANGE", tp: mysql.TypeVarchar, size: 64},
Expand Down

0 comments on commit 5598bde

Please sign in to comment.