mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
8M was too small for the InnoDB data file, needs 10M.
Updating test for smaller InnoDB buffer pool size used by the testsuite.
This commit is contained in:
@ -13,7 +13,7 @@ key_buffer_size= 1M
|
||||
sort_buffer= 256K
|
||||
max_heap_table_size= 1M
|
||||
|
||||
loose-innodb_data_file_path= ibdata1:8M:autoextend
|
||||
loose-innodb_data_file_path= ibdata1:10M:autoextend
|
||||
loose-innodb_buffer_pool_size= 8M
|
||||
loose-innodb_write_io_threads= 2
|
||||
loose-innodb_read_io_threads= 2
|
||||
|
@ -1738,7 +1738,7 @@ count(*)
|
||||
drop table t1;
|
||||
SELECT variable_value FROM information_schema.global_status WHERE LOWER(variable_name) = 'innodb_buffer_pool_pages_total';
|
||||
variable_value
|
||||
4095
|
||||
512
|
||||
SELECT variable_value FROM information_schema.global_status WHERE LOWER(variable_name) = 'innodb_page_size';
|
||||
variable_value
|
||||
16384
|
||||
|
@ -1317,8 +1317,8 @@ drop table t1;
|
||||
|
||||
# Test for testable InnoDB status variables. This test
|
||||
# uses previous ones(pages_created, rows_deleted, ...).
|
||||
# We get one of 4095 or 4096 randomly
|
||||
--replace_result 4096 4095
|
||||
# We get one of 511 or 512 randomly
|
||||
--replace_result 511 512
|
||||
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';
|
||||
SELECT variable_value - @innodb_rows_deleted_orig FROM information_schema.global_status WHERE LOWER(variable_name) = 'innodb_rows_deleted';
|
||||
|
Reference in New Issue
Block a user