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
675ca12a
Commit
675ca12a
authored
Sep 06, 2015
by
Elena Stepanova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Follow-up for MDEV-6066 (new defaults from 5.6 and 5.7)
New defaults for query cache caused wrong test output
parent
1a36caf0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
mysql-test/suite/storage_engine/select.result
mysql-test/suite/storage_engine/select.result
+3
-2
mysql-test/suite/storage_engine/select.test
mysql-test/suite/storage_engine/select.test
+3
-3
No files found.
mysql-test/suite/storage_engine/select.result
View file @
675ca12a
...
...
@@ -68,7 +68,8 @@ a
SELECT FOUND_ROWS();
FOUND_ROWS()
3
SET GLOBAL query_cache_size = 1024*1024;
SET GLOBAL query_cache_type = ON;
SET query_cache_type = ON;
SELECT SQL_CACHE * FROM t1, t2;
a b a b
1 z 1 z
...
...
@@ -89,7 +90,7 @@ a b a b
200 bar 100 foobar
200 bar 200 bar
200 bar 200 bar
SET GLOBAL query_cache_
size = 0
;
SET GLOBAL query_cache_
type = DEFAULT
;
SELECT a+10 AS field1, CONCAT(b,':',b) AS field2 FROM t1
WHERE b > 'b' AND a IS NOT NULL
GROUP BY 2 DESC, field1 ASC
...
...
mysql-test/suite/storage_engine/select.test
View file @
675ca12a
...
...
@@ -45,11 +45,11 @@ SELECT SQL_BIG_RESULT SQL_CALC_FOUND_ROWS DISTINCT(t2.a)
FROM
t1
t1_1
,
t2
,
t1
t1_2
;
SELECT
FOUND_ROWS
();
let
$query_cache
=
`SELECT @@query_cache_size`
;
SET
GLOBAL
query_cache_size
=
1024
*
1024
;
SET
GLOBAL
query_cache_type
=
ON
;
SET
query_cache_type
=
ON
;
--
sorted_result
SELECT
SQL_CACHE
*
FROM
t1
,
t2
;
eval
SET
GLOBAL
query_cache_size
=
$query_cache
;
SET
GLOBAL
query_cache_type
=
DEFAULT
;
# Combination of main clauses
...
...
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