1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

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

This commit is contained in:
unknown
2006-09-06 19:42:01 +02:00
parent b4baded858
commit 004464a04a
4 changed files with 26 additions and 16 deletions

View File

@ -444,21 +444,31 @@ COUNT(a2) (a2+1) COUNT(a2)*(a2+0)
1 21 20
1 22 21
a
4
3
8
7
6
5
a c
8 Clavin
7 Serge
6 Jeb
5 Stewart
4 Martin
4 Clavin
3 Serge
3 Pekka
a
2
3
4
5
6
7
8
a c
3 Serge
3 Pekka
4 Martin
4 Clavin
5 Stewart
6 Jeb
7 Serge
8 Clavin
a
1
1

View File

@ -13,12 +13,12 @@ ENGINE=NDB;
CREATE TABLESPACE ts1
ADD DATAFILE './table_space1/datafile.dat'
USE LOGFILE GROUP lg
INITIAL_SIZE 20M
INITIAL_SIZE 25M
ENGINE NDB;
CREATE TABLESPACE ts2
ADD DATAFILE './table_space2/datafile.dat'
USE LOGFILE GROUP lg
INITIAL_SIZE 12M
INITIAL_SIZE 20M
ENGINE NDB;
CREATE TABLE test.t1 (a1 int NOT NULL PRIMARY KEY, a2 VARCHAR(256), a3 BLOB)
TABLESPACE ts1 STORAGE DISK ENGINE=NDB;

View File

@ -234,12 +234,12 @@ b CHAR(5), c TEXT, d INT NOT NULL PRIMARY KEY) TABLESPACE
table_space1 STORAGE DISK ENGINE=NDB;
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,'g','Serge',7),(4,'h','Clavin',8);
select distinct a from test.t1 group by b,a having a > 2 order by a desc;
(3,'c','Pekka',3),(4,'d','Martin',4),(5,'e','Stewart',5),(6,'f','Jeb',6),
(7,'g','Serge',7),(8,'h','Clavin',8);
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 from test.t1 group by b,a having a > 2 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 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 > 3 order by a asc;
drop table test.t1;
create table test.t1 (a char(1), key(a)) TABLESPACE table_space1

View File

@ -49,13 +49,13 @@ DROP TABLE IF EXISTS test.t3;
CREATE TABLESPACE ts1
ADD DATAFILE './table_space1/datafile.dat'
USE LOGFILE GROUP lg
INITIAL_SIZE 20M
INITIAL_SIZE 25M
ENGINE NDB;
CREATE TABLESPACE ts2
ADD DATAFILE './table_space2/datafile.dat'
USE LOGFILE GROUP lg
INITIAL_SIZE 12M
INITIAL_SIZE 20M
ENGINE NDB;
CREATE TABLE test.t1 (a1 int NOT NULL PRIMARY KEY, a2 VARCHAR(256), a3 BLOB)