diff options
Diffstat (limited to 'mysql-test/suite/sys_vars/r/innodb_stats_sample_pages_basic.result')
-rw-r--r-- | mysql-test/suite/sys_vars/r/innodb_stats_sample_pages_basic.result | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/mysql-test/suite/sys_vars/r/innodb_stats_sample_pages_basic.result b/mysql-test/suite/sys_vars/r/innodb_stats_sample_pages_basic.result index e490773b63a..8618d602922 100644 --- a/mysql-test/suite/sys_vars/r/innodb_stats_sample_pages_basic.result +++ b/mysql-test/suite/sys_vars/r/innodb_stats_sample_pages_basic.result @@ -37,12 +37,28 @@ VARIABLE_NAME VARIABLE_VALUE INNODB_STATS_SAMPLE_PAGES 10 set session innodb_stats_sample_pages=1; ERROR HY000: Variable 'innodb_stats_sample_pages' is a GLOBAL variable and should be set with SET GLOBAL -set global innodb_stats_sample_pages=1.1; +set global innodb_stats_sample_pages=DEFAULT; +Warnings: +Warning 131 Using innodb_stats_sample_pages is deprecated and the variable may be removed in future releases. Please use innodb_stats_transient_sample_pages instead. +select @@global.innodb_stats_sample_pages; +@@global.innodb_stats_sample_pages +8 +set global innodb_stats_sample_pages = 1.1; +ERROR 42000: Incorrect argument type to variable 'innodb_stats_sample_pages' +set global innodb_stats_sample_pages = 1e1; ERROR 42000: Incorrect argument type to variable 'innodb_stats_sample_pages' -set global innodb_stats_sample_pages=1e1; +set global innodb_stats_sample_pages = "foo"; ERROR 42000: Incorrect argument type to variable 'innodb_stats_sample_pages' -set global innodb_stats_sample_pages="foo"; +set global innodb_stats_sample_pages=' '; ERROR 42000: Incorrect argument type to variable 'innodb_stats_sample_pages' +select @@global.innodb_stats_sample_pages; +@@global.innodb_stats_sample_pages +8 +set global innodb_stats_sample_pages=" "; +ERROR 42000: Incorrect argument type to variable 'innodb_stats_sample_pages' +select @@global.innodb_stats_sample_pages; +@@global.innodb_stats_sample_pages +8 set global innodb_stats_sample_pages=-7; Warnings: Warning 1292 Truncated incorrect innodb_stats_sample_pages value: '-7' |