Skip to content

Commit

Permalink
modify: description of advice reason
Browse files Browse the repository at this point in the history
  • Loading branch information
winfredLIN committed Dec 12, 2023
1 parent 60daaae commit a7ebc04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqle/driver/mysql/mysql.go
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ func (i *MysqlDriverImpl) audit(ctx context.Context, sql string) (*driverV2.Audi
i.result.Add(
driverV2.RuleLevelNotice,
rulepkg.ConfigOptimizeIndexEnabled,
fmt.Sprintf("%s,建议从表%s中选取合适的列添加索引,参考列:%s \n", advice.Reason, advice.TableName, strings.Join(advice.IndexedColumns, "、")),
advice.Reason,
)
}

Expand Down

0 comments on commit a7ebc04

Please sign in to comment.