summaryrefslogtreecommitdiff
path: root/mysql-test/ndb
diff options
context:
space:
mode:
authorpekka@mysql.com <>2004-12-20 16:52:14 +0100
committerpekka@mysql.com <>2004-12-20 16:52:14 +0100
commit3d7649ca1e41f85c2b3425e0341a77a4a0500280 (patch)
tree378e2a945fab8d72ccfc51df07a270f93215e1f2 /mysql-test/ndb
parent6463a6d7cd1262ba727aa09538cc96addc0834e0 (diff)
downloadmariadb-git-3d7649ca1e41f85c2b3425e0341a77a4a0500280.tar.gz
ndb: index tests
Diffstat (limited to 'mysql-test/ndb')
-rw-r--r--mysql-test/ndb/ndb_range_bounds.pl6
1 files changed, 4 insertions, 2 deletions
diff --git a/mysql-test/ndb/ndb_range_bounds.pl b/mysql-test/ndb/ndb_range_bounds.pl
index 3b1844495b3..abe1ea28298 100644
--- a/mysql-test/ndb/ndb_range_bounds.pl
+++ b/mysql-test/ndb/ndb_range_bounds.pl
@@ -1,6 +1,7 @@
#
# test range scan bounds
# give option --all to test all cases
+# set MYSQL_HOME to installation top
#
use strict;
@@ -14,8 +15,9 @@ my $opt_verbose = 0;
GetOptions("all" => \$opt_all, "cnt=i" => \$opt_cnt, "verbose" => \$opt_verbose)
or die "options are: --all --cnt=N --verbose";
-my $mysql_top = $ENV{MYSQL_TOP};
-my $dsn = "dbi:mysql:database=test;host=localhost;mysql_read_default_file=$mysql_top/.target/var/my.cnf";
+my $mysql_home = $ENV{MYSQL_HOME};
+defined($mysql_home) or die "no MYSQL_HOME";
+my $dsn = "dbi:mysql:database=test;host=localhost;mysql_read_default_file=$mysql_home/var/my.cnf";
my $opts = { RaiseError => 0, PrintError => 0, AutoCommit => 1, };
my $dbh;