| 1 |
--echo # |
| 2 |
--echo # Basic test for innodb_merge_threshold_set_all_debug |
| 3 |
--echo # |
| 4 |
|
| 5 |
|
| 6 |
# The config variable is a debug variable |
| 7 |
-- source include/have_debug.inc |
| 8 |
|
| 9 |
SELECT @@global.innodb_merge_threshold_set_all_debug; |
| 10 |
|
| 11 |
set global innodb_merge_threshold_set_all_debug = 1; |
| 12 |
|
| 13 |
SELECT @@global.innodb_merge_threshold_set_all_debug; |
| 14 |
|
| 15 |
set global innodb_merge_threshold_set_all_debug = 51; |
| 16 |
|
| 17 |
SELECT @@global.innodb_merge_threshold_set_all_debug; |
| 18 |
|
| 19 |
set global innodb_merge_threshold_set_all_debug = 0; |
| 20 |
|
| 21 |
SELECT @@global.innodb_merge_threshold_set_all_debug; |
| 22 |
|
| 23 |
--error ER_GLOBAL_VARIABLE |
| 24 |
set innodb_merge_threshold_set_all_debug = 50; |
| 25 |
|
| 26 |
set global innodb_merge_threshold_set_all_debug = 50; |
| 27 |
|
| 28 |
SELECT @@global.innodb_merge_threshold_set_all_debug; |
| 29 |
|