Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
32ea8fea
Commit
32ea8fea
authored
Jun 27, 2003
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix test when no InnoDB is present
parent
e7b28cbc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
mysql-test/t/func_group.test
mysql-test/t/func_group.test
+2
-0
No files found.
mysql-test/t/func_group.test
View file @
32ea8fea
...
@@ -348,7 +348,9 @@ insert into t1 values (3,1);
...
@@ -348,7 +348,9 @@ insert into t1 values (3,1);
select
a
,
count
(
b
),
sum
(
b
),
avg
(
b
),
std
(
b
),
min
(
b
),
max
(
b
),
bit_and
(
b
),
bit_or
(
b
)
from
t1
group
by
a
;
select
a
,
count
(
b
),
sum
(
b
),
avg
(
b
),
std
(
b
),
min
(
b
),
max
(
b
),
bit_and
(
b
),
bit_or
(
b
)
from
t1
group
by
a
;
select
SQL_BIG_RESULT
a
,
count
(
b
),
sum
(
b
),
avg
(
b
),
std
(
b
),
min
(
b
),
max
(
b
),
bit_and
(
b
),
bit_or
(
b
)
from
t1
group
by
a
;
select
SQL_BIG_RESULT
a
,
count
(
b
),
sum
(
b
),
avg
(
b
),
std
(
b
),
min
(
b
),
max
(
b
),
bit_and
(
b
),
bit_or
(
b
)
from
t1
group
by
a
;
drop
table
t1
;
drop
table
t1
;
--
disable_warnings
create
table
t1
(
USR_ID
integer
not
null
,
MAX_REQ
integer
not
null
,
constraint
PK_SEA_USER
primary
key
(
USR_ID
))
type
=
InnoDB
;
create
table
t1
(
USR_ID
integer
not
null
,
MAX_REQ
integer
not
null
,
constraint
PK_SEA_USER
primary
key
(
USR_ID
))
type
=
InnoDB
;
--
enable_warnings
insert
into
t1
values
(
1
,
3
);
insert
into
t1
values
(
1
,
3
);
select
count
(
*
)
+
MAX_REQ
-
MAX_REQ
+
MAX_REQ
-
MAX_REQ
+
MAX_REQ
-
MAX_REQ
+
MAX_REQ
-
MAX_REQ
+
MAX_REQ
-
MAX_REQ
from
t1
group
by
MAX_REQ
;
select
count
(
*
)
+
MAX_REQ
-
MAX_REQ
+
MAX_REQ
-
MAX_REQ
+
MAX_REQ
-
MAX_REQ
+
MAX_REQ
-
MAX_REQ
+
MAX_REQ
-
MAX_REQ
from
t1
group
by
MAX_REQ
;
select
Case
When
Count
(
*
)
<
MAX_REQ
Then
1
Else
0
End
from
t1
where
t1
.
USR_ID
=
1
group
by
MAX_REQ
;
select
Case
When
Count
(
*
)
<
MAX_REQ
Then
1
Else
0
End
from
t1
where
t1
.
USR_ID
=
1
group
by
MAX_REQ
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment