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

Commit 3d6eaca

Browse files
committed
Merge pull request #13 from JesperWisborgKrogh/development
ps_analyze_statement_digestDevelopment
2 parents 91df767 + 7a161c9 commit 3d6eaca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

procedures/ps_trace_statement_digest.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ CREATE DEFINER='root'@'localhost' PROCEDURE ps_trace_statement_digest (
6464
Example
6565
-----------
6666
67-
mysql> call ps_analyze_statement_digest(\'891ec6860f98ba46d89dd20b0c03652c\', 10, 0.1, true, true);
67+
mysql> call ps_trace_statement_digest(\'891ec6860f98ba46d89dd20b0c03652c\', 10, 0.1, true, true);
6868
+--------------------+
6969
| SUMMARY STATISTICS |
7070
+--------------------+
@@ -278,7 +278,7 @@ BEGIN
278278
DROP TEMPORARY TABLE stmt_trace;
279279
DROP TEMPORARY TABLE stmt_stages;
280280

281-
SET @stmt := CONCAT("EXPLAIN FORMAT=JSON", @sql);
281+
SET @stmt := CONCAT("EXPLAIN FORMAT=JSON ", @sql);
282282
PREPARE explain_stmt FROM @stmt;
283283
EXECUTE explain_stmt;
284284
DEALLOCATE PREPARE explain_stmt;

0 commit comments

Comments
 (0)