[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.137.182.201: ~ $
--perl
use strict;
use lib "lib/";
use My::Find;
use My::Exec;
use File::Basename;
use IO::File;

my $name = $ENV{NDBAPITEST_NAME} or die "Need NDBAPITEST_NAME";
my $args = $ENV{NDBAPITEST_ARGS};
my $max_lines = $ENV{NDBAPITEST_MAXLINES} || 200;
my $mysql_test_dir = $ENV{MYSQL_TEST_DIR} or die "Need MYSQL_TEST_DIR";
my $basedir = dirname($mysql_test_dir);
my $test_bin = my_find_bin($basedir,
		           ["storage/ndb/test/ndbapi", "bin"],
                           $name, NOT_REQUIRED);

my $vardir = $ENV{MYSQLTEST_VARDIR} or die "Need MYSQLTEST_VARDIR";
my $F = IO::File->new("$vardir/tmp/run_ndbapitest.result", "w") or die;
unless($test_bin)
{
  print $F "skip Could not find $name;\n";
  exit(0);
}

if ($ENV{'MYSQL_TMP_DIR'})
{
  $ENV{'NDBT_TMP_DIR'} = $ENV{'MYSQL_TMP_DIR'};
}

my $cmd = $test_bin;
$cmd .= " $args" if $args;
my $res = exec_print_on_error($cmd, $max_lines);
if ($res)
{
  # Test program suceeded
  print $F "exit;\n";
  exit(0);
}
else
{
  print $F "die Test program failed!;\n";
}
$F->close(); 

EOF

--source $MYSQLTEST_VARDIR/tmp/run_ndbapitest.result

Filemanager

Name Type Size Permission Actions
have_clusterj.inc File 3.03 KB 0644
have_clusterj_jpa.inc File 1.72 KB 0644
have_connectorj.inc File 1002 B 0644
have_java.inc File 3.42 KB 0644
have_junit.inc File 892 B 0644
have_ndbjtie_junit.inc File 1.3 KB 0644
have_openjpa.inc File 971 B 0644
memory_usage.inc File 3.08 KB 0644
ndb_add_node.cnf File 1000 B 0644
ndb_add_node_mysqld.cnf File 550 B 0644
ndb_desc_print.inc File 408 B 0644
ndb_execute_count.inc File 190 B 0644
ndb_info.inc File 3.55 KB 0644
ndb_init_execute_count.inc File 212 B 0644
ndb_init_scan_counts.inc File 346 B 0644
ndb_scan_counts.inc File 387 B 0644
ndb_share_check_shares.inc File 264 B 0644
restart_cluster.inc File 1.17 KB 0644
restart_cluster_rolling.inc File 1.33 KB 0644
restart_node.inc File 1.46 KB 0644
restart_random_node.inc File 1.04 KB 0644
run_java.inc File 2.06 KB 0644
run_ndbapitest.inc File 1.06 KB 0644