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
3b646516
Commit
3b646516
authored
Aug 11, 2005
by
sanja@arthur.local
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
query_cache_notembedded.test, query_cache_notembedded.result:
postmerge fix
parent
4f26fa51
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
0 deletions
+33
-0
mysql-test/r/query_cache_notembedded.result
mysql-test/r/query_cache_notembedded.result
+14
-0
mysql-test/t/query_cache_notembedded.test
mysql-test/t/query_cache_notembedded.test
+19
-0
No files found.
mysql-test/r/query_cache_notembedded.result
View file @
3b646516
...
...
@@ -80,4 +80,18 @@ show status like "Qcache_free_blocks";
Variable_name Value
Qcache_free_blocks 1
drop table t1, t2, t3, t11, t21;
CREATE TABLE t1 ( a INT NOT NULL PRIMARY KEY AUTO_INCREMENT ) ENGINE =
MyISAM;
LOCK TABLE t1 READ LOCAL;
INSERT INTO t1 VALUES (), (), ();
SELECT * FROM t1;
a
SELECT * FROM t1;
a
1
2
3
SELECT * FROM t1;
a
drop table t1;
set GLOBAL query_cache_size=0;
mysql-test/t/query_cache_notembedded.test
View file @
3b646516
...
...
@@ -78,4 +78,23 @@ show status like "Qcache_total_blocks";
show
status
like
"Qcache_free_blocks"
;
drop
table
t1
,
t2
,
t3
,
t11
,
t21
;
#
# do not use QC if tables locked (BUG#12385)
#
connect
(
root
,
localhost
,
root
,,
test
,
$MASTER_MYPORT
,
master
.
sock
);
connection
root
;
CREATE
TABLE
t1
(
a
INT
NOT
NULL
PRIMARY
KEY
AUTO_INCREMENT
)
ENGINE
=
MyISAM
;
LOCK
TABLE
t1
READ
LOCAL
;
connect
(
root2
,
localhost
,
root
,,
test
,
$MASTER_MYPORT
,
master
.
sock
);
connection
root2
;
INSERT
INTO
t1
VALUES
(),
(),
();
connection
root
;
SELECT
*
FROM
t1
;
connection
root2
;
SELECT
*
FROM
t1
;
connection
root
;
SELECT
*
FROM
t1
;
drop
table
t1
;
set
GLOBAL
query_cache_size
=
0
;
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