mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01: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 mysql-test/include/have_ndb.inc: Revert
This commit is contained in:
parent
4c8931294b
commit
c3e8fb57a0
2 changed files with 14 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
|||
--exec test x$NDB_STATUS_OK = x1
|
||||
-- require r/have_ndb.require
|
||||
disable_query_log;
|
||||
show variables like "have_ndbcluster";
|
||||
|
|
|
@ -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($)
|
||||
|
|
Loading…
Reference in a new issue