Hello
In http://dev.mysql.com/doc/refman/5.0/en/server-system-variables.html
"profiling" and "profiling_history_size" variables are noted as session
variables, which is also mentioned in
http://dev.mysql.com/doc/refman/5.0/en/show-profiles.html
However profiling_history_size can be set from the my.cnf file where as
profiling can't. Also from mysql command line it is possible to do ie
SET GLOBAL profiling_history_size=10;
So is profiling_history_size session but handled like global or simply
hasn't been updated in the docs?
Also I would like to ask if there is a reason for not having profiling
as global variable.
Regards
Vangelis