Skip to content

Commit

Permalink
*: address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
zimulala committed Sep 29, 2024
1 parent 05729ee commit 7f27c7a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion errors.toml
Original file line number Diff line number Diff line change
Expand Up @@ -1568,7 +1568,7 @@ Auto analyze is not effective for index '%-.192s', need analyze manually

["ddl:9014"]
error = '''
TiFlash backfill index failed: TiFlash backfill index failed: %s
TiFlash backfill index failed: %s
'''

["domain:8027"]
Expand Down
2 changes: 1 addition & 1 deletion pkg/parser/parser.y
Original file line number Diff line number Diff line change
Expand Up @@ -1135,7 +1135,7 @@ import (
ConnectionOption "single connection options"
ConnectionOptionList "connection options for CREATE USER statement"
ConnectionOptions "optional connection options for CREATE USER statement"
Constraint "table constraint outwith vector index"
Constraint "table constraint"
ConstraintElem "table constraint element"
ConstraintKeywordOpt "Constraint Keyword or empty"
ConstraintVectorIndex "vector index"
Expand Down
2 changes: 1 addition & 1 deletion pkg/util/dbterror/ddl_terror.go
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ var (
ErrUnsupportedTiFlashOperationForUnsupportedCharsetTable = ClassDDL.NewStdErr(mysql.ErrUnsupportedDDLOperation, parser_mysql.Message(fmt.Sprintf(mysql.MySQLErrName[mysql.ErrUnsupportedDDLOperation].Raw, "ALTER TiFlash settings for tables not supported by TiFlash: table contains %s charset"), nil))
// ErrTiFlashBackfillIndex is the error that tiflash backfill the index failed.
ErrTiFlashBackfillIndex = ClassDDL.NewStdErr(mysql.ErrTiFlashBackfillIndex,
parser_mysql.Message(fmt.Sprintf(mysql.MySQLErrName[mysql.ErrTiFlashBackfillIndex].Raw, "TiFlash backfill index failed: %s"), nil))
parser_mysql.Message(mysql.MySQLErrName[mysql.ErrTiFlashBackfillIndex].Raw, nil))

// ErrDropIndexNeededInForeignKey returns when drop index which is needed in foreign key.
ErrDropIndexNeededInForeignKey = ClassDDL.NewStd(mysql.ErrDropIndexNeededInForeignKey)
Expand Down

0 comments on commit 7f27c7a

Please sign in to comment.