Skip to content

Commit 52dbf3d

Browse files
authored
Merge pull request #3682 from DForck42/dev
fix for sp conversion info length
2 parents 469fe65 + 7fdf602 commit 52dbf3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sp_BlitzCache.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4072,12 +4072,12 @@ SELECT @@SPID AS SPID,
40724072
AND ci.comma_paren_charindex > 0
40734073
THEN SUBSTRING(ci.expression, ci.paren_charindex, ci.comma_paren_charindex)
40744074
END AS converted_to,
4075-
CASE WHEN ci.at_charindex = 0
4075+
LEFT(CASE WHEN ci.at_charindex = 0
40764076
AND ci.convert_implicit_charindex = 0
40774077
AND ci.proc_name = 'Statement'
40784078
THEN SUBSTRING(ci.expression, ci.equal_charindex, 4000)
40794079
ELSE '**idk_man**'
4080-
END AS compile_time_value
4080+
END, 258) AS compile_time_value
40814081
FROM #conversion_info AS ci
40824082
OPTION (RECOMPILE);
40834083

0 commit comments

Comments
 (0)