Commit 8a1b8bf
Fix deadlock_group query numbering label for 0-based qn
The CASE expression mapped qn=0 to "Query #1" but then used qn
directly for all other values, so qn=1 also displayed as "Query #1".
Replace the CASE with a simple qn + 1 conversion so labels are
always correct (qn=0 → "Query #1", qn=1 → "Query #2", etc).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 3e0c5aa commit 8a1b8bf
1 file changed
+2
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3765 | 3765 | | |
3766 | 3766 | | |
3767 | 3767 | | |
3768 | | - | |
3769 | | - | |
3770 | | - | |
3771 | | - | |
3772 | | - | |
| 3768 | + | |
| 3769 | + | |
3773 | 3770 | | |
3774 | 3771 | | |
3775 | 3772 | | |
| |||
0 commit comments