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
dd3cfa8d
Commit
dd3cfa8d
authored
Jan 12, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/psergey/mysql-5.0-look-valgrind
parents
d67a56cb
2b73271c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
sql/opt_range.cc
sql/opt_range.cc
+4
-5
No files found.
sql/opt_range.cc
View file @
dd3cfa8d
...
...
@@ -7664,7 +7664,8 @@ QUICK_GROUP_MIN_MAX_SELECT(TABLE *table, JOIN *join_arg, bool have_min_arg,
group_prefix_len
(
group_prefix_len_arg
),
have_min
(
have_min_arg
),
have_max
(
have_max_arg
),
seen_first_key
(
FALSE
),
min_max_arg_part
(
min_max_arg_part_arg
),
key_infix
(
key_infix_arg
),
key_infix_len
(
key_infix_len_arg
)
key_infix_len
(
key_infix_len_arg
),
min_functions_it
(
NULL
),
max_functions_it
(
NULL
)
{
head
=
table
;
file
=
head
->
file
;
...
...
@@ -7773,16 +7774,12 @@ int QUICK_GROUP_MIN_MAX_SELECT::init()
if
(
!
(
min_functions_it
=
new
List_iterator
<
Item_sum
>
(
*
min_functions
)))
return
1
;
}
else
min_functions_it
=
NULL
;
if
(
have_max
)
{
if
(
!
(
max_functions_it
=
new
List_iterator
<
Item_sum
>
(
*
max_functions
)))
return
1
;
}
else
max_functions_it
=
NULL
;
}
else
min_max_ranges
.
elements
=
0
;
...
...
@@ -7799,6 +7796,8 @@ QUICK_GROUP_MIN_MAX_SELECT::~QUICK_GROUP_MIN_MAX_SELECT()
if
(
min_max_arg_part
)
delete_dynamic
(
&
min_max_ranges
);
free_root
(
&
alloc
,
MYF
(
0
));
delete
min_functions_it
;
delete
max_functions_it
;
delete
quick_prefix_select
;
DBUG_VOID_RETURN
;
}
...
...
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