mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
mysql-test-run.pl now creates an innodb data file of 10M:autoextend instead of 128M:autoextend.
This is faster under gdb/valgrind (this should speed up work of people who have to run a simple test 50 times to do debugging). Running without --big, which is the default, InnoDB tests take at most 18MB so 128 was overkill. Running with --big, InnoDB tests take 450MB so 128 was not enough anyway. mysql-test/mysql-test-run.pl: 10M is faster to create than 128M (especially under gdb or valgrind) and is enough for most tests.
This commit is contained in:
@ -2561,7 +2561,7 @@ sub mysqld_arguments ($$$$$$) {
|
||||
mtr_add_arg($args, "%s--server-id=%d", $prefix, $id);
|
||||
mtr_add_arg($args, "%s--socket=%s", $prefix,
|
||||
$master->[$idx]->{'path_mysock'});
|
||||
mtr_add_arg($args, "%s--innodb_data_file_path=ibdata1:128M:autoextend", $prefix);
|
||||
mtr_add_arg($args, "%s--innodb_data_file_path=ibdata1:10M:autoextend", $prefix);
|
||||
mtr_add_arg($args, "%s--local-infile", $prefix);
|
||||
mtr_add_arg($args, "%s--datadir=%s", $prefix,
|
||||
$master->[$idx]->{'path_myddir'});
|
||||
|
Reference in New Issue
Block a user