summaryrefslogtreecommitdiff
path: root/mysql-test/suite/sys_vars/r/innodb_merge_threshold_set_all_debug_basic.result
blob: 6e325d0be38b1dd70a48059a37525fee44049f6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#
# Basic test for innodb_merge_threshold_set_all_debug
#
SELECT @@global.innodb_merge_threshold_set_all_debug;
@@global.innodb_merge_threshold_set_all_debug
50
set global innodb_merge_threshold_set_all_debug = 1;
SELECT @@global.innodb_merge_threshold_set_all_debug;
@@global.innodb_merge_threshold_set_all_debug
1
set global innodb_merge_threshold_set_all_debug = 51;
Warnings:
Warning	1292	Truncated incorrect innodb_merge_threshold_set_all_d value: '51'
SELECT @@global.innodb_merge_threshold_set_all_debug;
@@global.innodb_merge_threshold_set_all_debug
50
set global innodb_merge_threshold_set_all_debug = 0;
Warnings:
Warning	1292	Truncated incorrect innodb_merge_threshold_set_all_d value: '0'
SELECT @@global.innodb_merge_threshold_set_all_debug;
@@global.innodb_merge_threshold_set_all_debug
1
set innodb_merge_threshold_set_all_debug = 50;
ERROR HY000: Variable 'innodb_merge_threshold_set_all_debug' is a GLOBAL variable and should be set with SET GLOBAL
set global innodb_merge_threshold_set_all_debug = 50;
SELECT @@global.innodb_merge_threshold_set_all_debug;
@@global.innodb_merge_threshold_set_all_debug
50