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