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
3227d625
Commit
3227d625
authored
Dec 15, 2009
by
Mattias Jonsson
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
e1be3eab
a0944897
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
687 additions
and
0 deletions
+687
-0
mysql-test/include/check_key_reads.inc
mysql-test/include/check_key_reads.inc
+6
-0
mysql-test/include/check_key_req.inc
mysql-test/include/check_key_req.inc
+9
-0
mysql-test/r/partition_key_cache.result
mysql-test/r/partition_key_cache.result
+420
-0
mysql-test/t/partition_key_cache.test
mysql-test/t/partition_key_cache.test
+252
-0
No files found.
mysql-test/include/check_key_reads.inc
0 → 100644
View file @
3227d625
# include file for checking if variable key_reads is zero
let
$key_reads
=
query_get_value
(
SHOW
STATUS
LIKE
'key_reads'
,
Value
,
1
);
--
disable_query_log
eval
SELECT
IF
(
$key_reads
=
0
,
"Yes!"
,
"No!"
)
as
'Zero key reads?'
;
FLUSH
STATUS
;
--
enable_query_log
mysql-test/include/check_key_req.inc
0 → 100644
View file @
3227d625
# include file for checking if variable key_reads = key_read_requests
let
$key_reads
=
query_get_value
(
SHOW
STATUS
LIKE
'key_reads'
,
Value
,
1
);
let
$key_r_req
=
query_get_value
(
SHOW
STATUS
LIKE
'key_read_requests'
,
Value
,
1
);
let
$key_writes
=
query_get_value
(
SHOW
STATUS
LIKE
'key_writes'
,
Value
,
1
);
let
$key_w_req
=
query_get_value
(
SHOW
STATUS
LIKE
'key_write_requests'
,
Value
,
1
);
--
disable_query_log
eval
SELECT
IF
(
$key_reads
=
$key_r_req
,
"reads == requests"
,
"reads != requests"
)
as
'reads vs requests'
;
eval
SELECT
IF
(
$key_writes
=
$key_w_req
,
"writes == requests"
,
"writes != requests"
)
as
'writes vs requests'
;
--
enable_query_log
mysql-test/r/partition_key_cache.result
0 → 100644
View file @
3227d625
This diff is collapsed.
Click to expand it.
mysql-test/t/partition_key_cache.test
0 → 100644
View file @
3227d625
This diff is collapsed.
Click to expand it.
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