diff options
author | unknown <msvensson@pilot.(none)> | 2007-08-06 15:14:11 +0200 |
---|---|---|
committer | unknown <msvensson@pilot.(none)> | 2007-08-06 15:14:11 +0200 |
commit | d3b0bed19730892300bbc6fa7f6c1ebceadfc67d (patch) | |
tree | 2d88681e6af6304bcfd1ef866c8e5a4826b94da7 /mysql-test/mysql-test-run.pl | |
parent | 34b58dd51dc3dd3ba15b517020eeab2b6db100d2 (diff) | |
parent | ccb32a59465eb502d6e292e5f074dcade1ec7fa8 (diff) | |
download | mariadb-git-d3b0bed19730892300bbc6fa7f6c1ebceadfc67d.tar.gz |
Merge bk-internal:/home/bk/mysql-5.1-maint
into pilot.(none):/data/msvensson/mysql/mysql-5.1-new-maint
mysql-test/mysql-test-run.pl:
Auto merged
Diffstat (limited to 'mysql-test/mysql-test-run.pl')
-rwxr-xr-x | mysql-test/mysql-test-run.pl | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index a490e3d7296..cb15451a363 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -688,6 +688,37 @@ sub command_line_setup () { $glob_timers= mtr_init_timers(); + # -------------------------------------------------------------------------- + # Embedded server flag + # -------------------------------------------------------------------------- + if ( $opt_embedded_server ) + { + $glob_use_embedded_server= 1; + # Add the location for libmysqld.dll to the path. + if ( $glob_win32 ) + { + my $lib_mysqld= + mtr_path_exists(vs_config_dirs('libmysqld','')); + $lib_mysqld= $glob_cygwin_perl ? ":".`cygpath "$lib_mysqld"` + : ";".$lib_mysqld; + chomp($lib_mysqld); + $ENV{'PATH'}="$ENV{'PATH'}".$lib_mysqld; + } + + push(@glob_test_mode, "embedded"); + $opt_skip_rpl= 1; # We never run replication with embedded + $opt_skip_ndbcluster= 1; # Turn off use of NDB cluster + $opt_skip_ssl= 1; # Turn off use of SSL + + # Turn off use of bin log + push(@opt_extra_mysqld_opt, "--skip-log-bin"); + + if ( $opt_extern ) + { + mtr_error("Can't use --extern with --embedded-server"); + } + } + # # Find the mysqld executable to be able to find the mysqld version # number as early as possible |