diff options
author | unknown <knielsen@knielsen-hq.org> | 2010-01-15 16:58:25 +0100 |
---|---|---|
committer | unknown <knielsen@knielsen-hq.org> | 2010-01-15 16:58:25 +0100 |
commit | 13029651b5535d637aa6f652f17c8c4417a803bc (patch) | |
tree | b65c4d4bf3227b2e2b86c13f4d098b57e9a60410 /mysql-test/t/innodb-analyze.test | |
parent | d121e6630519a66eec7c953ee0eae623f592ce87 (diff) | |
parent | 5b0ab60a4bfb4d5b603cd929b7ceb0d9fd1bac22 (diff) | |
download | mariadb-git-13029651b5535d637aa6f652f17c8c4417a803bc.tar.gz |
Merge XtraDB 9 into MariaDB.
Diffstat (limited to 'mysql-test/t/innodb-analyze.test')
-rw-r--r-- | mysql-test/t/innodb-analyze.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/t/innodb-analyze.test b/mysql-test/t/innodb-analyze.test index de5a486a355..9bdb9db697c 100644 --- a/mysql-test/t/innodb-analyze.test +++ b/mysql-test/t/innodb-analyze.test @@ -11,7 +11,7 @@ -- disable_result_log -- enable_warnings -SET @old_innodb_stats_sample_pages=@@innodb_stats_sample_pages; +let $sample_pages=`select @@innodb_stats_sample_pages`; SET GLOBAL innodb_stats_sample_pages=0; # check that the value has been adjusted to 1 @@ -62,4 +62,4 @@ SET GLOBAL innodb_stats_sample_pages=16; ANALYZE TABLE innodb_analyze; DROP TABLE innodb_analyze; -SET GLOBAL innodb_stats_sample_pages=@old_innodb_stats_sample_pages; +EVAL SET GLOBAL innodb_stats_sample_pages=$sample_pages; |