amachanic / sp_whoisactive

sp_whoisactive
GNU General Public License v3.0
1.13k stars 281 forks source link

fix missing CPU column for case-sensitive SQL instances #113

Open MisterZeus opened 7 months ago

MisterZeus commented 7 months ago

Hi Adam!

I discovered that the CPU column disappears when running sp_WhoIsActive on a case-sensitive SQL instance.

I've attached the 3-character fix for it.

The rest of the changes (if any) are going to be line-endings that GitHub detected as being inconsistent. On my branch, it changed all line-endings to Windows CR+LF, as that's what I'm using. Your mileage may vary :-)

Pro tip: on the GitHub file diff page, you can click the Cog icon and "Hide whitespace" to verify my changes are only "cpu" to "CPU".

Thanks!