Commit 776fc436 authored by elliot@mysql.com's avatar elliot@mysql.com

Merge mysql.com:/Users/emurphy/src/bk-clean/mysql-4.1-merge2

into  mysql.com:/Users/emurphy/src/bk-clean/mysql-5.0
parents 7ddb53c9 a24336cd
...@@ -772,7 +772,8 @@ sub executable_setup () { ...@@ -772,7 +772,8 @@ sub executable_setup () {
{ {
if ( $glob_win32 ) if ( $glob_win32 )
{ {
$path_client_bindir= mtr_path_exists("$glob_basedir/client_release"); $path_client_bindir= mtr_path_exists("$glob_basedir/client_release",
"$glob_basedir/bin");
$exe_mysqld= mtr_exe_exists ("$path_client_bindir/mysqld-nt"); $exe_mysqld= mtr_exe_exists ("$path_client_bindir/mysqld-nt");
$path_language= mtr_path_exists("$glob_basedir/share/english/"); $path_language= mtr_path_exists("$glob_basedir/share/english/");
$path_charsetsdir= mtr_path_exists("$glob_basedir/share/charsets"); $path_charsetsdir= mtr_path_exists("$glob_basedir/share/charsets");
...@@ -794,7 +795,7 @@ sub executable_setup () { ...@@ -794,7 +795,7 @@ sub executable_setup () {
} }
else else
{ {
$exe_mysqltest= mtr_exe_exists("$glob_basedir/client/mysqltest"); $exe_mysqltest= mtr_exe_exists("$path_client_bindir/mysqltest");
$exe_mysql_client_test= $exe_mysql_client_test=
mtr_exe_exists("$glob_basedir/tests/mysql_client_test"); mtr_exe_exists("$glob_basedir/tests/mysql_client_test");
} }
...@@ -2011,6 +2012,14 @@ sub run_mysqltest ($$) { ...@@ -2011,6 +2012,14 @@ sub run_mysqltest ($$) {
"--port=$master->[0]->{'path_myport'} " . "--port=$master->[0]->{'path_myport'} " .
"--socket=$master->[0]->{'path_mysock'}"; "--socket=$master->[0]->{'path_mysock'}";
if ( $glob_use_embedded_server )
{
$cmdline_mysql_client_test.=
" -A --language=$path_language" .
" -A --datadir=$slave->[0]->{'path_myddir'}" .
" -A --character-sets-dir=$path_charsetsdir";
}
my $cmdline_mysql_fix_system_tables= my $cmdline_mysql_fix_system_tables=
"$exe_mysql_fix_system_tables --no-defaults --host=localhost --user=root --password= " . "$exe_mysql_fix_system_tables --no-defaults --host=localhost --user=root --password= " .
"--basedir=$glob_basedir --bindir=$path_client_bindir --verbose " . "--basedir=$glob_basedir --bindir=$path_client_bindir --verbose " .
...@@ -2127,8 +2136,7 @@ sub run_mysqltest ($$) { ...@@ -2127,8 +2136,7 @@ sub run_mysqltest ($$) {
# #
############################################################################## ##############################################################################
sub usage ($) sub usage ($) {
{
print STDERR <<HERE; print STDERR <<HERE;
mysql-test-run [ OPTIONS ] [ TESTCASE ] mysql-test-run [ OPTIONS ] [ TESTCASE ]
......
...@@ -40,3 +40,4 @@ SELECT * FROM t2 ORDER BY a; ...@@ -40,3 +40,4 @@ SELECT * FROM t2 ORDER BY a;
a b a b
1 6 1 6
2 6 2 6
drop table t1,t2;
...@@ -31,3 +31,4 @@ sync_with_master; ...@@ -31,3 +31,4 @@ sync_with_master;
SELECT * FROM t1 ORDER BY a; SELECT * FROM t1 ORDER BY a;
SELECT * FROM t2 ORDER BY a; SELECT * FROM t2 ORDER BY a;
drop table t1,t2;
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