Skip to content

Commit 9799fb6

Browse files
authored
Merge pull request #152231 from yuzefovich/blathers/backport-release-25.2-152030
release-25.2: execinfra: fix procState redaction
2 parents 7ec4bea + 8f7404b commit 9799fb6

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
@@ -449,13 +449,13 @@ type procState int
449449
func (i procState) SafeFormat(s interfaces.SafePrinter, verb rune) {
450450
switch i {
451451
case StateRunning:
452-
s.Print("StateRunning")
452+
s.SafeString("StateRunning")
453453
case StateDraining:
454-
s.Print("StateDraining")
454+
s.SafeString("StateDraining")
455455
case StateTrailingMeta:
456-
s.Print("StateTrailingMeta")
456+
s.SafeString("StateTrailingMeta")
457457
case StateExhausted:
458-
s.Print("StateExhausted")
458+
s.SafeString("StateExhausted")
459459
}
460460
}
461461

0 commit comments

Comments
 (0)