Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit 3c9a136

Browse files
committed
Fix missing replace values in ps_thread_stack.
1 parent 6137a91 commit 3c9a136

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/ps_thread_stack.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ BEGIN
7777
, CONCAT( '"event_info": "'
7878
, CASE
7979
WHEN event_name NOT LIKE 'wait/io%' THEN REPLACE(SUBSTRING_INDEX(event_name, '/', -2), '\\', '\\\\')
80-
WHEN event_name NOT LIKE 'wait/io/file%' OR event_name NOT LIKE 'wait/io/socket%' THEN REPLACE(SUBSTRING_INDEX(event_name, '/', -4),
80+
WHEN event_name NOT LIKE 'wait/io/file%' OR event_name NOT LIKE 'wait/io/socket%' THEN REPLACE(SUBSTRING_INDEX(event_name, '/', -4), '\\', '\\\\')
8181
ELSE event_name
8282
END
8383
, '"'

0 commit comments

Comments
 (0)