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
This commit is contained in:
Alexey Botchkov 2009-11-25 16:12:23 +04:00
parent 819a299235
commit 204c5ab9dd

View File

@ -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");
@ -366,6 +368,7 @@ sub post_check_client_group {
} }
} }
} }
}
sub post_check_client_groups { sub post_check_client_groups {