Skip to content

Commit

Permalink
*: clean up code
Browse files Browse the repository at this point in the history
Signed-off-by: BornChanger <[email protected]>
  • Loading branch information
BornChanger committed Feb 3, 2023
1 parent 7086b8b commit c43f49e
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions executor/infoschema_reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -3400,29 +3400,20 @@ func (e *memtableRetriever) setDataFromResourceGroups() error {
burstable := "NO"
switch group.Mode {
case rmpb.GroupMode_RUMode:
//mode = "RU_MODE"
if group.RUSettings.RU.Settings.BurstLimit < 0 {
burstable = "YES"
}
row := types.MakeDatums(
group.Name,
//mode,
group.RUSettings.RU.Settings.FillRate,
uint64(group.RUSettings.RU.Tokens),
//nil,
//nil,
//nil,
burstable,
)
rows = append(rows, row)
default:
//mode = "UNKNOWN_MODE"
row := types.MakeDatums(
group.Name,
//mode,
//nil,
//nil,
//nil,
nil,
nil,
nil,
Expand Down

0 comments on commit c43f49e

Please sign in to comment.