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
7a303bc8
Commit
7a303bc8
authored
Jun 13, 2007
by
dkatz@damien-katzs-computer.local
Browse files
Options
Browse Files
Download
Plain Diff
Merge damien-katzs-computer.local:/Users/dkatz/mysql50
into damien-katzs-computer.local:/Users/dkatz/mysql51
parents
422d7999
c67c49ff
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
0 deletions
+31
-0
mysql-test/r/query_cache.result
mysql-test/r/query_cache.result
+7
-0
mysql-test/t/query_cache.test
mysql-test/t/query_cache.test
+24
-0
No files found.
mysql-test/r/query_cache.result
View file @
7a303bc8
...
...
@@ -1433,7 +1433,14 @@ Only MyISAM tables support collections 1
Function MATCH ... AGAINST() is used to do a search 1
Full-text search in MySQL implements vector space model 1
drop function change_global;
drop table t1;
set GLOBAL query_cache_type=default;
set GLOBAL query_cache_limit=default;
set GLOBAL query_cache_min_res_unit=default;
set GLOBAL query_cache_size= default;
set GLOBAL query_cache_size=1000000;
create table t1 (a char);
insert into t1 values ('c');
a
drop table t1;
set GLOBAL query_cache_size= default;
mysql-test/t/query_cache.test
View file @
7a303bc8
...
...
@@ -994,9 +994,33 @@ delimiter ;|
select
*
,
change_global
()
from
t1
;
drop
function
change_global
;
drop
table
t1
;
set
GLOBAL
query_cache_type
=
default
;
set
GLOBAL
query_cache_limit
=
default
;
set
GLOBAL
query_cache_min_res_unit
=
default
;
set
GLOBAL
query_cache_size
=
default
;
#
# Bug #28897 UUID() returns non-unique values when query cache is enabled
#
set
GLOBAL
query_cache_size
=
1000000
;
create
table
t1
(
a
char
);
insert
into
t1
values
(
'c'
);
let
$q1
=
`select UUID(), a from t1`
;
let
$q2
=
`select UUID(), a from t1`
;
# disabling the logging of the query because the UUIDs are different each run.
--
disable_query_log
eval
select
a
from
t1
where
"
$q1
"
=
"
$q2
"
;
--
enable_query_log
drop
table
t1
;
set
GLOBAL
query_cache_size
=
default
;
# End of 5.0 tests
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