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
7f933eb3
Commit
7f933eb3
authored
Jan 10, 2008
by
evgen@moonbone.local
Browse files
Options
Browse Files
Download
Plain Diff
Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0-opt
into moonbone.local:/work/33675-bug-5.0-opt-mysql
parents
6e60a185
830b8f0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
sql/filesort.cc
sql/filesort.cc
+6
-2
No files found.
sql/filesort.cc
View file @
7f933eb3
...
@@ -239,10 +239,14 @@ ha_rows filesort(THD *thd, TABLE *table, SORT_FIELD *sortorder, uint s_length,
...
@@ -239,10 +239,14 @@ ha_rows filesort(THD *thd, TABLE *table, SORT_FIELD *sortorder, uint s_length,
}
}
else
else
{
{
if
(
table_sort
.
buffpek
&&
table_sort
.
buffpek_len
<
maxbuffer
)
{
x_free
(
table_sort
.
buffpek
);
table_sort
.
buffpek
=
0
;
}
if
(
!
(
table_sort
.
buffpek
=
if
(
!
(
table_sort
.
buffpek
=
read_buffpek_from_file
(
&
buffpek_pointers
,
maxbuffer
,
read_buffpek_from_file
(
&
buffpek_pointers
,
maxbuffer
,
(
table_sort
.
buffpek_len
<
maxbuffer
?
table_sort
.
buffpek
)))
NULL
:
table_sort
.
buffpek
))))
goto
err
;
goto
err
;
buffpek
=
(
BUFFPEK
*
)
table_sort
.
buffpek
;
buffpek
=
(
BUFFPEK
*
)
table_sort
.
buffpek
;
table_sort
.
buffpek_len
=
maxbuffer
;
table_sort
.
buffpek_len
=
maxbuffer
;
...
...
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