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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
055ee727
Commit
055ee727
authored
Nov 28, 2010
by
Michael Widenius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable warning that comes 'occasionable' depending on if HAVING is executed or not.
parent
078f83d3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
mysql-test/t/subselect_cache.test
mysql-test/t/subselect_cache.test
+3
-0
No files found.
mysql-test/t/subselect_cache.test
View file @
055ee727
...
...
@@ -1598,6 +1598,8 @@ CREATE TABLE `t3` (
)
DEFAULT
CHARSET
=
latin1
;
INSERT
INTO
`t3`
VALUES
(
1
,
'w'
);
# We may get warnings about 'h' not beeing a double here
--
disable_warnings
SELECT
SUM
(
DISTINCT
table2
.
`pk`
)
AS
field2
,
(
SELECT
SUM
(
SUBQUERY1_t2
.
`pk`
)
AS
SUBQUERY1_field1
FROM
t2
AS
SUBQUERY1_t2
STRAIGHT_JOIN
...
...
@@ -1610,4 +1612,5 @@ FROM ( t1 AS table1 LEFT JOIN
WHERE
(
table1
.
`pk`
<
5
)
OR
(
table1
.
`col_varchar_key`
IS
NOT
NULL
)
GROUP
BY
field3
HAVING
(
field3
<=
'h'
AND
field2
!=
4
)
;
--
enable_warnings
drop
tables
t1
,
t2
,
t3
;
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