| 1 |
# |
| 2 |
# Bug#32860560 NDB_LOG_BIN: INCONSISTENT BEHAVIOUR WHEN SET DYNAMICALLY |
| 3 |
# - it's not possible to change --ndb-log-bin at runtime, make sure it's |
| 4 |
# there, can be queried and are readonly |
| 5 |
select @@global.ndb_log_bin; |
| 6 |
@@global.ndb_log_bin |
| 7 |
1 |
| 8 |
select @@session.ndb_log_bin; |
| 9 |
ERROR HY000: Variable 'ndb_log_bin' is a GLOBAL variable |
| 10 |
show global variables like 'ndb_log_bin'; |
| 11 |
Variable_name Value |
| 12 |
ndb_log_bin ON |
| 13 |
show session variables like 'ndb_log_bin'; |
| 14 |
Variable_name Value |
| 15 |
ndb_log_bin ON |
| 16 |
select * from performance_schema.global_variables where variable_name='ndb_log_bin'; |
| 17 |
VARIABLE_NAME VARIABLE_VALUE |
| 18 |
ndb_log_bin ON |
| 19 |
select * from performance_schema.session_variables where variable_name='ndb_log_bin'; |
| 20 |
VARIABLE_NAME VARIABLE_VALUE |
| 21 |
ndb_log_bin ON |
| 22 |
set global ndb_log_bin=0; |
| 23 |
ERROR HY000: Variable 'ndb_log_bin' is a read only variable |
| 24 |
set session ndb_log_bin=0; |
| 25 |
ERROR HY000: Variable 'ndb_log_bin' is a read only variable |