1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-18 23:03:28 +03:00
Files
mariadb/mysql-test/suite/innodb/t/log_buffer_size.test
Marko Mäkelä 6e9b421f77 MDEV-32364 Server crashes when starting server with high innodb_log_buffer_size
log_t::create(): Return whether the initialisation succeeded.
It may fail if too large an innodb_log_buffer_size is specified.
2023-10-06 14:16:01 +03:00

24 lines
1.0 KiB
Plaintext

--source include/have_innodb.inc
--source include/no_valgrind_without_big.inc
# the parameter is only 32-bit on Windows
--source include/not_windows.inc
--disable_query_log
call mtr.add_suppression("\\[Warning\\] option 'innodb-log-buffer-size': unsigned value 1125899906842624 adjusted");
call mtr.add_suppression("InnoDB: Cannot allocate memory; too large innodb_log_buffer_size\\?");
call mtr.add_suppression("\\[ERROR\\] InnoDB: Plugin initialization aborted");
call mtr.add_suppression("\\[ERROR\\] Plugin 'InnoDB' registration as a STORAGE ENGINE failed");
--enable_query_log
--let $restart_parameters= --innodb-log-buffer-size=1125899906842624
--source include/restart_mysqld.inc
SELECT * FROM INFORMATION_SCHEMA.ENGINES WHERE engine = 'innodb'
AND support IN ('YES', 'DEFAULT', 'ENABLED');
--let SEARCH_FILE = $MYSQLTEST_VARDIR/log/mysqld.1.err
--let SEARCH_PATTERN=InnoDB: Cannot allocate memory; too large innodb_log_buffer_size\\?
--source include/search_pattern_in_file.inc
--let $restart_parameters=
--source include/restart_mysqld.inc