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

Commit 755835f

Browse files
committed
Merge pull request #16 from JesperWisborgKrogh/dev/20140707_ps_thread_stack
Fix ps_thread_stack calling argument - the thread_id is a bigint unsigne...
2 parents 3d6eaca + 274d2ff commit 755835f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

functions/ps_thread_stack.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ DROP FUNCTION IF EXISTS ps_thread_stack;
1818
DELIMITER $$
1919

2020
CREATE DEFINER='root'@'localhost' FUNCTION ps_thread_stack (
21-
thd_id INT,
21+
thd_id BIGINT UNSIGNED,
2222
debug BOOLEAN
2323
)
2424
RETURNS LONGTEXT CHARSET latin1
@@ -32,7 +32,7 @@ RETURNS LONGTEXT CHARSET latin1
3232
Parameters
3333
-----------
3434
35-
thd_id (BIGINT):
35+
thd_id (BIGINT UNSIGNED):
3636
The id of the thread to trace. This should match the thread_id
3737
column from the performance_schema.threads table.
3838
in_verbose (BOOLEAN):

0 commit comments

Comments
 (0)