mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Unify profiling SHOW code and INFORMATION_SCHEMA code for
profiling. Also, Bug#26938: profiling client hang if used before enabled In the SHOW command, not sending header data because we had no rows to send was a protocol violation. Porting the SHOW PROFILE command to use the Information Schema table avoids that problem.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
show profiles;
|
||||
Query_ID Duration Query
|
||||
show profile all;
|
||||
Status Duration CPU_user CPU_system Context_voluntary Context_involuntary Block_ops_in Block_ops_out Messages_sent Messages_received Page_faults_major Page_faults_minor Swaps Source_function Source_file Source_line
|
||||
show session variables like 'profil%';
|
||||
Variable_name Value
|
||||
profiling OFF
|
||||
|
||||
Reference in New Issue
Block a user