mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +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,8 @@
|
||||
# Verify that the protocol isn't violated if we ask for profiling info
|
||||
# before profiling has recorded anything.
|
||||
show profiles;
|
||||
show profile all;
|
||||
|
||||
# default is OFF
|
||||
show session variables like 'profil%';
|
||||
select @@profiling;
|
||||
|
Reference in New Issue
Block a user