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
f503c415
Commit
f503c415
authored
Jul 28, 2005
by
igor@rurik.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
null_key.test, null_key.result:
Made the test case for bug #12144 independent on other tests.
parent
dbec0c6e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
17 deletions
+6
-17
mysql-test/r/null_key.result
mysql-test/r/null_key.result
+5
-12
mysql-test/t/null_key.test
mysql-test/t/null_key.test
+1
-5
No files found.
mysql-test/r/null_key.result
View file @
f503c415
...
...
@@ -404,14 +404,7 @@ id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 ALL NULL NULL NULL NULL 4
1 SIMPLE t2 ref idx idx 5 test.t1.a 1
1 SIMPLE t3 ref idx idx 5 test.t2.b 1 Using index
SHOW STATUS LIKE "handler_read%";
Variable_name Value
Handler_read_first 25
Handler_read_key 63
Handler_read_next 25979
Handler_read_prev 0
Handler_read_rnd 0
Handler_read_rnd_next 147
FLUSH STATUS ;
SELECT SQL_CALC_FOUND_ROWS * FROM t1 LEFT JOIN t2 ON t1.a=t2.a
LEFT JOIN t3 ON t2.b=t3.b;
a a b b
...
...
@@ -421,12 +414,12 @@ a a b b
4 NULL NULL NULL
SHOW STATUS LIKE "handler_read%";
Variable_name Value
Handler_read_first
25
Handler_read_key 6
9
Handler_read_next 2
5981
Handler_read_first
0
Handler_read_key 6
Handler_read_next 2
Handler_read_prev 0
Handler_read_rnd 0
Handler_read_rnd_next
152
Handler_read_rnd_next
5
SELECT FOUND_ROWS();
FOUND_ROWS()
4
...
...
mysql-test/t/null_key.test
View file @
f503c415
...
...
@@ -230,14 +230,10 @@ SELECT COUNT(*) FROM t3;
EXPLAIN
SELECT
SQL_CALC_FOUND_ROWS
*
FROM
t1
LEFT
JOIN
t2
ON
t1
.
a
=
t2
.
a
LEFT
JOIN
t3
ON
t2
.
b
=
t3
.
b
;
SHOW
STATUS
LIKE
"handler_read%"
;
FLUSH
STATUS
;
SELECT
SQL_CALC_FOUND_ROWS
*
FROM
t1
LEFT
JOIN
t2
ON
t1
.
a
=
t2
.
a
LEFT
JOIN
t3
ON
t2
.
b
=
t3
.
b
;
SHOW
STATUS
LIKE
"handler_read%"
;
SELECT
FOUND_ROWS
();
DROP
TABLE
t1
,
t2
,
t3
,
t4
;
...
...
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