MarkLeith/mysql-sys — pull request #13 by JesperWisborgKrogh (2014-07-07 02:00:37+00:00)
Title: ps_analyze_statement_digestDevelopment

Fixed a couple of bugs in the procedure ps_trace_statement_digest():

1) Fix comment so it does not reference the old procedure name ps_analyze_statement_digest
2) Add missing space between FORMAT=JSON and the query itself in the EXPLAIN query. Previously an error log:

ERROR 1791 (HY000): Unknown EXPLAIN format name: 'JSONSELECT'

was returned at the end of the procedure and the stored configuration was not restored.