mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 11:31:51 +01:00
Add all server arguments to mysqltest_embedded when running check_warnings
This commit is contained in:
parent
ee3b5acc62
commit
ac1aa0cd70
1 changed files with 17 additions and 0 deletions
|
@ -3019,6 +3019,23 @@ sub start_check_warnings ($$) {
|
||||||
mtr_add_arg($args, "--skip-safemalloc");
|
mtr_add_arg($args, "--skip-safemalloc");
|
||||||
mtr_add_arg($args, "--test-file=%s", "include/check-warnings.test");
|
mtr_add_arg($args, "--test-file=%s", "include/check-warnings.test");
|
||||||
|
|
||||||
|
if ( $opt_embedded_server )
|
||||||
|
{
|
||||||
|
|
||||||
|
# Get the args needed for the embedded server
|
||||||
|
# and append them to args prefixed
|
||||||
|
# with --sever-arg=
|
||||||
|
|
||||||
|
my $mysqld= $config->group('embedded')
|
||||||
|
or mtr_error("Could not get [embedded] section");
|
||||||
|
|
||||||
|
my $mysqld_args;
|
||||||
|
mtr_init_args(\$mysqld_args);
|
||||||
|
my $extra_opts= get_extra_opts($mysqld, $tinfo);
|
||||||
|
mysqld_arguments($mysqld_args, $mysqld, $extra_opts);
|
||||||
|
mtr_add_arg($args, "--server-arg=%s", $_) for @$mysqld_args;
|
||||||
|
}
|
||||||
|
|
||||||
my $errfile= "$opt_vardir/tmp/$name.err";
|
my $errfile= "$opt_vardir/tmp/$name.err";
|
||||||
my $proc= My::SafeProcess->new
|
my $proc= My::SafeProcess->new
|
||||||
(
|
(
|
||||||
|
|
Loading…
Add table
Reference in a new issue