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
04328c3d
Commit
04328c3d
authored
Mar 15, 2005
by
ramil@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A fix (bug #8799: Killed filesorts can fail inited==RND assertion in ha_rnd_end).
parent
ec775b65
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
sql/filesort.cc
sql/filesort.cc
+5
-2
No files found.
sql/filesort.cc
View file @
04328c3d
...
...
@@ -452,8 +452,11 @@ static ha_rows find_all_keys(SORTPARAM *param, SQL_SELECT *select,
if
(
*
killed
)
{
DBUG_PRINT
(
"info"
,(
"Sort killed by user"
));
(
void
)
file
->
extra
(
HA_EXTRA_NO_CACHE
);
file
->
ha_rnd_end
();
if
(
!
indexfile
&&
!
quick_select
)
{
(
void
)
file
->
extra
(
HA_EXTRA_NO_CACHE
);
file
->
ha_rnd_end
();
}
DBUG_RETURN
(
HA_POS_ERROR
);
/* purecov: inspected */
}
if
(
error
==
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