Commit aca04541 authored by pekka@mysql.com's avatar pekka@mysql.com

Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb

into mysql.com:/space/pekka/ndb/version/my50-ndb
parents c6837c2f 3d7649ca
# #
# test range scan bounds # test range scan bounds
# give option --all to test all cases # give option --all to test all cases
# set MYSQL_HOME to installation top
# #
use strict; use strict;
...@@ -14,8 +15,9 @@ my $opt_verbose = 0; ...@@ -14,8 +15,9 @@ my $opt_verbose = 0;
GetOptions("all" => \$opt_all, "cnt=i" => \$opt_cnt, "verbose" => \$opt_verbose) GetOptions("all" => \$opt_all, "cnt=i" => \$opt_cnt, "verbose" => \$opt_verbose)
or die "options are: --all --cnt=N --verbose"; or die "options are: --all --cnt=N --verbose";
my $mysql_top = $ENV{MYSQL_TOP}; my $mysql_home = $ENV{MYSQL_HOME};
my $dsn = "dbi:mysql:database=test;host=localhost;mysql_read_default_file=$mysql_top/.target/var/my.cnf"; 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 $opts = { RaiseError => 0, PrintError => 0, AutoCommit => 1, };
my $dbh; my $dbh;
......
...@@ -383,6 +383,7 @@ b c ...@@ -383,6 +383,7 @@ b c
select min(b), max(b) from t1; select min(b), max(b) from t1;
min(b) max(b) min(b) max(b)
1 5000000 1 5000000
drop table t1;
CREATE TABLE test1 ( CREATE TABLE test1 (
SubscrID int(11) NOT NULL auto_increment, SubscrID int(11) NOT NULL auto_increment,
UsrID int(11) NOT NULL default '0', UsrID int(11) NOT NULL default '0',
......
...@@ -175,6 +175,8 @@ select b, c from t1 where 1000<=b and b<=100000 and c<'j' order by b, c; ...@@ -175,6 +175,8 @@ select b, c from t1 where 1000<=b and b<=100000 and c<'j' order by b, c;
select b, c from t1 where 1000<=b and b<=100000 and c<'j' order by b desc, c desc; select b, c from t1 where 1000<=b and b<=100000 and c<'j' order by b desc, c desc;
# #
select min(b), max(b) from t1; select min(b), max(b) from t1;
#
drop table t1;
# #
# Bug #6435 # Bug #6435
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment