diff options
author | unknown <pekka@mysql.com> | 2004-12-20 16:52:14 +0100 |
---|---|---|
committer | unknown <pekka@mysql.com> | 2004-12-20 16:52:14 +0100 |
commit | 2ade8e1a44dd44c0c057a2e072ade3db571de19f (patch) | |
tree | 378e2a945fab8d72ccfc51df07a270f93215e1f2 /mysql-test/ndb | |
parent | 9acdec6337d99ea56e98133ec18e5979c519b076 (diff) | |
download | mariadb-git-2ade8e1a44dd44c0c057a2e072ade3db571de19f.tar.gz |
ndb: index tests
ndb/test/ndbapi/testOIBasic.cpp:
test ordering, add hash indexes, fix result verification
mysql-test/ndb/ndb_range_bounds.pl:
minor
mysql-test/r/ndb_index_ordered.result:
minor
mysql-test/t/ndb_index_ordered.test:
minor
Diffstat (limited to 'mysql-test/ndb')
-rw-r--r-- | mysql-test/ndb/ndb_range_bounds.pl | 6 |
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; |