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
6357f5cc
Commit
6357f5cc
authored
Jan 30, 2008
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.0-build
into ramayana.hindu.god:/home/tsmith/m/bk/build/50
parents
4621dbf5
a3f80f54
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
sql/filesort.cc
sql/filesort.cc
+7
-0
No files found.
sql/filesort.cc
View file @
6357f5cc
...
@@ -112,6 +112,13 @@ ha_rows filesort(THD *thd, TABLE *table, SORT_FIELD *sortorder, uint s_length,
...
@@ -112,6 +112,13 @@ ha_rows filesort(THD *thd, TABLE *table, SORT_FIELD *sortorder, uint s_length,
FILESORT_INFO
table_sort
;
FILESORT_INFO
table_sort
;
TABLE_LIST
*
tab
=
table
->
pos_in_table_list
;
TABLE_LIST
*
tab
=
table
->
pos_in_table_list
;
Item_subselect
*
subselect
=
tab
?
tab
->
containing_subselect
()
:
0
;
Item_subselect
*
subselect
=
tab
?
tab
->
containing_subselect
()
:
0
;
/*
Release InnoDB's adaptive hash index latch (if holding) before
running a sort.
*/
ha_release_temporary_latches
(
thd
);
/*
/*
Don't use table->sort in filesort as it is also used by
Don't use table->sort in filesort as it is also used by
QUICK_INDEX_MERGE_SELECT. Work with a copy and put it back at the end
QUICK_INDEX_MERGE_SELECT. Work with a copy and put it back at the end
...
...
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