Skip to content

Commit ec40952

Browse files
authored
Merge pull request #152232 from yuzefovich/blathers/backport-release-25.3-152030
release-25.3: execinfra: fix procState redaction
2 parents 289bd04 + 035ca4e commit ec40952

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pkg/sql/execinfra/processorsbase.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -451,13 +451,13 @@ type procState int
451451
func (i procState) SafeFormat(s interfaces.SafePrinter, verb rune) {
452452
switch i {
453453
case StateRunning:
454-
s.Print("StateRunning")
454+
s.SafeString("StateRunning")
455455
case StateDraining:
456-
s.Print("StateDraining")
456+
s.SafeString("StateDraining")
457457
case StateTrailingMeta:
458-
s.Print("StateTrailingMeta")
458+
s.SafeString("StateTrailingMeta")
459459
case StateExhausted:
460-
s.Print("StateExhausted")
460+
s.SafeString("StateExhausted")
461461
}
462462
}
463463

0 commit comments

Comments
 (0)