Commit 004464a0 authored by unknown's avatar unknown

Updated test case due to pb test failure on sol10-sparc-a' -max

parent b4baded8
...@@ -444,21 +444,31 @@ COUNT(a2) (a2+1) COUNT(a2)*(a2+0) ...@@ -444,21 +444,31 @@ COUNT(a2) (a2+1) COUNT(a2)*(a2+0)
1 21 20 1 21 20
1 22 21 1 22 21
a a
4 8
3 7
6
5
a c a c
8 Clavin
7 Serge
6 Jeb
5 Stewart
4 Martin 4 Martin
4 Clavin
3 Serge
3 Pekka 3 Pekka
a a
2
3 3
4 4
5
6
7
8
a c a c
3 Serge
3 Pekka
4 Martin 4 Martin
4 Clavin 5 Stewart
6 Jeb
7 Serge
8 Clavin
a a
1 1
1 1
......
...@@ -13,12 +13,12 @@ ENGINE=NDB; ...@@ -13,12 +13,12 @@ ENGINE=NDB;
CREATE TABLESPACE ts1 CREATE TABLESPACE ts1
ADD DATAFILE './table_space1/datafile.dat' ADD DATAFILE './table_space1/datafile.dat'
USE LOGFILE GROUP lg USE LOGFILE GROUP lg
INITIAL_SIZE 20M INITIAL_SIZE 25M
ENGINE NDB; ENGINE NDB;
CREATE TABLESPACE ts2 CREATE TABLESPACE ts2
ADD DATAFILE './table_space2/datafile.dat' ADD DATAFILE './table_space2/datafile.dat'
USE LOGFILE GROUP lg USE LOGFILE GROUP lg
INITIAL_SIZE 12M INITIAL_SIZE 20M
ENGINE NDB; ENGINE NDB;
CREATE TABLE test.t1 (a1 int NOT NULL PRIMARY KEY, a2 VARCHAR(256), a3 BLOB) CREATE TABLE test.t1 (a1 int NOT NULL PRIMARY KEY, a2 VARCHAR(256), a3 BLOB)
TABLESPACE ts1 STORAGE DISK ENGINE=NDB; TABLESPACE ts1 STORAGE DISK ENGINE=NDB;
......
...@@ -234,12 +234,12 @@ b CHAR(5), c TEXT, d INT NOT NULL PRIMARY KEY) TABLESPACE ...@@ -234,12 +234,12 @@ b CHAR(5), c TEXT, d INT NOT NULL PRIMARY KEY) TABLESPACE
table_space1 STORAGE DISK ENGINE=NDB; table_space1 STORAGE DISK ENGINE=NDB;
insert into test.t1 (a,b,c,d) values (1,'a','Jonas',1),(2,'b','Tomas',2), insert into test.t1 (a,b,c,d) values (1,'a','Jonas',1),(2,'b','Tomas',2),
(3,'c','Pekka',3),(4,'d','Martin',4),(1,'e','Stewart',5),(2,'f','Jeb',6), (3,'c','Pekka',3),(4,'d','Martin',4),(5,'e','Stewart',5),(6,'f','Jeb',6),
(3,'g','Serge',7),(4,'h','Clavin',8); (7,'g','Serge',7),(8,'h','Clavin',8);
select distinct a from test.t1 group by b,a having a > 2 order by a desc; select distinct a from test.t1 group by b,a having a > 4 order by a desc;
select distinct a,c from test.t1 group by b,c,a having a > 2 order by a desc; select distinct a,c from test.t1 group by b,c,a having a > 2 order by a desc;
select distinct a from test.t1 group by b,a having a > 2 order by a asc; select distinct a from test.t1 group by b,a having a > 1 order by a asc;
select distinct a,c from test.t1 group by b,c,a having a > 2 order by a asc; select distinct a,c from test.t1 group by b,c,a having a > 3 order by a asc;
drop table test.t1; drop table test.t1;
create table test.t1 (a char(1), key(a)) TABLESPACE table_space1 create table test.t1 (a char(1), key(a)) TABLESPACE table_space1
......
...@@ -49,13 +49,13 @@ DROP TABLE IF EXISTS test.t3; ...@@ -49,13 +49,13 @@ DROP TABLE IF EXISTS test.t3;
CREATE TABLESPACE ts1 CREATE TABLESPACE ts1
ADD DATAFILE './table_space1/datafile.dat' ADD DATAFILE './table_space1/datafile.dat'
USE LOGFILE GROUP lg USE LOGFILE GROUP lg
INITIAL_SIZE 20M INITIAL_SIZE 25M
ENGINE NDB; ENGINE NDB;
CREATE TABLESPACE ts2 CREATE TABLESPACE ts2
ADD DATAFILE './table_space2/datafile.dat' ADD DATAFILE './table_space2/datafile.dat'
USE LOGFILE GROUP lg USE LOGFILE GROUP lg
INITIAL_SIZE 12M INITIAL_SIZE 20M
ENGINE NDB; ENGINE NDB;
CREATE TABLE test.t1 (a1 int NOT NULL PRIMARY KEY, a2 VARCHAR(256), a3 BLOB) CREATE TABLE test.t1 (a1 int NOT NULL PRIMARY KEY, a2 VARCHAR(256), a3 BLOB)
......
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