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

Commit 05b6c53

Browse files
Fix ps_trace_thread calling argument - the thread_id is a bigint unsigned not a signed int
1 parent 3d6eaca commit 05b6c53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

procedures/ps_trace_thread.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ DROP PROCEDURE IF EXISTS ps_trace_thread;
1717

1818
DELIMITER $$
1919
CREATE DEFINER='root'@'localhost' PROCEDURE ps_trace_thread (
20-
IN in_thread_id INT,
20+
IN in_thread_id BIGINT UNSIGNED,
2121
IN in_outfile VARCHAR(255),
2222
IN in_max_runtime DECIMAL(20,2),
2323
IN in_interval DECIMAL(20,2),
@@ -39,7 +39,7 @@ CREATE DEFINER='root'@'localhost' PROCEDURE ps_trace_thread (
3939
Parameters
4040
-----------
4141
42-
in_thread_id (INT):
42+
in_thread_id (BIGINT UNSIGNED):
4343
The thread that you would like a stack trace for
4444
in_outfile (VARCHAR(255)):
4545
The filename the dot file will be written to

0 commit comments

Comments
 (0)