diff options
Diffstat (limited to 'mysql-test/suite/sys_vars/r/innodb_read_ahead_threshold_basic.result')
-rw-r--r-- | mysql-test/suite/sys_vars/r/innodb_read_ahead_threshold_basic.result | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/suite/sys_vars/r/innodb_read_ahead_threshold_basic.result b/mysql-test/suite/sys_vars/r/innodb_read_ahead_threshold_basic.result index 65a1a8e319f..8ca5862ac09 100644 --- a/mysql-test/suite/sys_vars/r/innodb_read_ahead_threshold_basic.result +++ b/mysql-test/suite/sys_vars/r/innodb_read_ahead_threshold_basic.result @@ -35,12 +35,26 @@ VARIABLE_NAME VARIABLE_VALUE INNODB_READ_AHEAD_THRESHOLD 10 set session innodb_read_ahead_threshold=1; ERROR HY000: Variable 'innodb_read_ahead_threshold' is a GLOBAL variable and should be set with SET GLOBAL +set global innodb_read_ahead_threshold=DEFAULT; +select @@global.innodb_read_ahead_threshold; +@@global.innodb_read_ahead_threshold +56 set global innodb_read_ahead_threshold=1.1; ERROR 42000: Incorrect argument type to variable 'innodb_read_ahead_threshold' set global innodb_read_ahead_threshold=1e1; ERROR 42000: Incorrect argument type to variable 'innodb_read_ahead_threshold' set global innodb_read_ahead_threshold="foo"; ERROR 42000: Incorrect argument type to variable 'innodb_read_ahead_threshold' +set global innodb_read_ahead_threshold=' '; +ERROR 42000: Incorrect argument type to variable 'innodb_read_ahead_threshold' +select @@global.innodb_read_ahead_threshold; +@@global.innodb_read_ahead_threshold +56 +set global innodb_read_ahead_threshold=" "; +ERROR 42000: Incorrect argument type to variable 'innodb_read_ahead_threshold' +select @@global.innodb_read_ahead_threshold; +@@global.innodb_read_ahead_threshold +56 set global innodb_read_ahead_threshold=-7; Warnings: Warning 1292 Truncated incorrect innodb_read_ahead_threshold value: '-7' |