| 1 |
# bool readonly |
| 2 |
|
| 3 |
# |
| 4 |
# show values; |
| 5 |
# |
| 6 |
select @@global.binlog_optimize_thread_scheduling; |
| 7 |
--error ER_INCORRECT_GLOBAL_LOCAL_VAR |
| 8 |
select @@session.binlog_optimize_thread_scheduling; |
| 9 |
show global variables like 'binlog_optimize_thread_scheduling'; |
| 10 |
show session variables like 'binlog_optimize_thread_scheduling'; |
| 11 |
select * from information_schema.global_variables where variable_name='binlog_optimize_thread_scheduling'; |
| 12 |
select * from information_schema.session_variables where variable_name='binlog_optimize_thread_scheduling'; |
| 13 |
|
| 14 |
# |
| 15 |
# show that it's read-only |
| 16 |
# |
| 17 |
--error ER_INCORRECT_GLOBAL_LOCAL_VAR |
| 18 |
set global binlog_optimize_thread_scheduling=1; |
| 19 |
--error ER_INCORRECT_GLOBAL_LOCAL_VAR |
| 20 |
set session binlog_optimize_thread_scheduling=1; |
| 21 |
|