Current Path : /home/usr.opt/mysql57/mysql-test/suite/innodb/t/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //home/usr.opt/mysql57/mysql-test/suite/innodb/t/buf_pool_resize_oom.test |
--source include/have_innodb.inc --source include/have_debug.inc --echo # --echo # Bug #21348684 SIGABRT DURING RESIZING THE INNODB BUFFER POOL --echo # ONLINE WITH MEMORY FULL CONDITION --echo # --disable_query_log call mtr.add_suppression("\\[ERROR\\] InnoDB: Cannot allocate .*"); call mtr.add_suppression("InnoDB: .* failed to allocate the chunk array"); call mtr.add_suppression("InnoDB: .* failed to allocate new memory"); call mtr.add_suppression("InnoDB: .* failed; errno 12"); set @old_innodb_disable_resize = @@innodb_disable_resize_buffer_pool_debug; set @before_innodb_buffer_pool_size = @@innodb_buffer_pool_size; set global innodb_disable_resize_buffer_pool_debug = OFF; --enable_query_log SET GLOBAL DEBUG='+d,buf_pool_resize_chunk_null'; --echo # Setting innodb buffer pool size 10MB more than before SET GLOBAL innodb_buffer_pool_size=@before_innodb_buffer_pool_size + 10485760; let $wait_timeout = 60; let $wait_condition = SELECT SUBSTR(variable_value, 1, 27) = 'Resizing buffer pool failed' FROM information_schema.global_status WHERE LOWER(variable_name) = 'innodb_buffer_pool_resize_status'; --source include/wait_condition.inc SET GLOBAL DEBUG='-d,buf_pool_resize_chunk_null'; SET GLOBAL innodb_buffer_pool_size=@before_innodb_buffer_pool_size; # SELECT SUBSTR(variable_value, 1, 9) = 'Completed' # SELECT SUBSTR(variable_value, 1, 19) = 'Size did not change' let $wait_timeout = 60; let $wait_condition = SELECT SUBSTR(variable_value, 1, 9) = 'Completed' FROM information_schema.global_status WHERE LOWER(variable_name) = 'innodb_buffer_pool_resize_status'; --source include/wait_condition.inc --disable_query_log set global innodb_disable_resize_buffer_pool_debug = @old_innodb_disable_resize; --enable_query_log