1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Set the environment variable NDB_STATUS_OK to indicate that cluster is installed ok. This is actually not needed for this script as it will

skip ndb tests if cluster install failed. But provided for compatibility
This commit is contained in:
msvensson@neptunus.(none)
2006-10-05 12:28:23 +02:00
parent 6e405f5888
commit bf120e18c8
2 changed files with 14 additions and 0 deletions

View File

@@ -2665,6 +2665,19 @@ sub do_before_run_mysqltest($)
{
mtr_tofile($master->[1]->{'path_myerr'},"CURRENT_TEST: $tname\n");
}
if ( $mysql_version_id < 50000 )
{
# Set envirnoment variable NDB_STATUS_OK to 1
# if script decided to run mysqltest cluster _is_ installed ok
$ENV{'NDB_STATUS_OK'} = "1";
}
elsif ( $mysql_version_id < 50100 )
{
# Set envirnoment variable NDB_STATUS_OK to YES
# if script decided to run mysqltest cluster _is_ installed ok
$ENV{'NDB_STATUS_OK'} = "YES";
}
}
sub do_after_run_mysqltest($)