summaryrefslogtreecommitdiff
path: root/mysql-test/t/innodb.test
diff options
context:
space:
mode:
authorunknown <knielsen@knielsen-hq.org>2009-09-11 13:00:53 +0200
committerunknown <knielsen@knielsen-hq.org>2009-09-11 13:00:53 +0200
commit66a1902a01bcdc6ad42187339417a739847a4dd4 (patch)
tree06b55289e53e919149de7ddf5a2b1d4d2c178c40 /mysql-test/t/innodb.test
parent30ce64cbee7f2abf6c0bf108159d8ba02772016c (diff)
downloadmariadb-git-66a1902a01bcdc6ad42187339417a739847a4dd4.tar.gz
After-merge fixes for merge of MySQL-5.1.38.
mysql-test/r/innodb.result: Fix wrong merge of result file conflicts. mysql-test/t/bug46080-master.opt: Fix memory limit to take into account extra storage engines in MariaDB. mysql-test/t/innodb.test: Add comment clarifying tricky --replace_result. sql/sql_select.cc: Restore fix of Bug#34374, accudentally lost during MySQL 5.1.38 merge. support-files/build-tags: Fix missing -R option for bzr, accidentally lost in MySQL-5.1.38 merge.
Diffstat (limited to 'mysql-test/t/innodb.test')
-rw-r--r--mysql-test/t/innodb.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/t/innodb.test b/mysql-test/t/innodb.test
index bb201d8993c..220621a3576 100644
--- a/mysql-test/t/innodb.test
+++ b/mysql-test/t/innodb.test
@@ -1317,6 +1317,10 @@ drop table t1;
# Test for testable InnoDB status variables. This test
# uses previous ones(pages_created, rows_deleted, ...).
+
+# InnoDB aligns the memory for the buffer pool to a page boundary. This may
+# cause actual pool size to be one less than requested depending on exact
+# alignment of obtained memory.
--replace_result 512 511
SELECT variable_value FROM information_schema.global_status WHERE LOWER(variable_name) = 'innodb_buffer_pool_pages_total';
SELECT variable_value FROM information_schema.global_status WHERE LOWER(variable_name) = 'innodb_page_size';