| 1 |
select @@global.have_profiling="1"; |
| 2 |
@@global.have_profiling="1" |
| 3 |
0 |
| 4 |
Warnings: |
| 5 |
Warning 1287 '@@have_profiling' is deprecated and will be removed in a future release. |
| 6 |
select @@session.have_profiling; |
| 7 |
ERROR HY000: Variable 'have_profiling' is a GLOBAL variable |
| 8 |
show global variables like 'have_profiling'; |
| 9 |
Variable_name Value |
| 10 |
have_profiling # |
| 11 |
show session variables like 'have_profiling'; |
| 12 |
Variable_name Value |
| 13 |
have_profiling # |
| 14 |
select * from performance_schema.global_variables where variable_name='have_profiling'; |
| 15 |
VARIABLE_NAME VARIABLE_VALUE |
| 16 |
have_profiling # |
| 17 |
select * from performance_schema.session_variables where variable_name='have_profiling'; |
| 18 |
VARIABLE_NAME VARIABLE_VALUE |
| 19 |
have_profiling # |
| 20 |
set global have_profiling=1; |
| 21 |
ERROR HY000: Variable 'have_profiling' is a read only variable |
| 22 |
set session have_profiling=1; |
| 23 |
ERROR HY000: Variable 'have_profiling' is a read only variable |