Commit a07d7da4 authored by Alexey Botchkov's avatar Alexey Botchkov

Bug#48878 "Embedded" tests fail due to an unknown variable "shared-memory-base-name"

    the 'shared-memory-base-name' was added to the [client] section of the my.cnf file.
    That option isn't supported by the mysqltest_embedded.

per-file comments:
  mysql-test/lib/My/ConfigFactory.pm
parent 5fef8b1d
...@@ -357,6 +357,8 @@ sub post_check_client_group { ...@@ -357,6 +357,8 @@ sub post_check_client_group {
} }
if (IS_WINDOWS) if (IS_WINDOWS)
{
if (! $self->{ARGS}->{embedded})
{ {
# Shared memory base may or may not be defined (e.g not defined in embedded) # Shared memory base may or may not be defined (e.g not defined in embedded)
my $shm = $group_to_copy_from->option("shared-memory-base-name"); my $shm = $group_to_copy_from->option("shared-memory-base-name");
...@@ -365,6 +367,7 @@ sub post_check_client_group { ...@@ -365,6 +367,7 @@ sub post_check_client_group {
$config->insert($client_group_name,"shared-memory-base-name", $shm->value()); $config->insert($client_group_name,"shared-memory-base-name", $shm->value());
} }
} }
}
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment