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
b43b8c24
Commit
b43b8c24
authored
Jan 09, 2009
by
Mattias Jonsson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#40972: Partition pruning can lead to crash for bad dates
post push fix, added test found a valgrind warning
parent
b727dab9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
sql/sql_partition.cc
sql/sql_partition.cc
+1
-1
No files found.
sql/sql_partition.cc
View file @
b43b8c24
...
@@ -6678,6 +6678,7 @@ int get_part_iter_for_interval_via_mapping(partition_info *part_info,
...
@@ -6678,6 +6678,7 @@ int get_part_iter_for_interval_via_mapping(partition_info *part_info,
uint32
max_endpoint_val
;
uint32
max_endpoint_val
;
get_endpoint_func
get_endpoint
;
get_endpoint_func
get_endpoint
;
uint
field_len
=
field
->
pack_length_in_rec
();
uint
field_len
=
field
->
pack_length_in_rec
();
part_iter
->
ret_null_part
=
part_iter
->
ret_null_part_orig
=
FALSE
;
if
(
part_info
->
part_type
==
RANGE_PARTITION
)
if
(
part_info
->
part_type
==
RANGE_PARTITION
)
{
{
...
@@ -6698,7 +6699,6 @@ int get_part_iter_for_interval_via_mapping(partition_info *part_info,
...
@@ -6698,7 +6699,6 @@ int get_part_iter_for_interval_via_mapping(partition_info *part_info,
max_endpoint_val
=
part_info
->
no_list_values
;
max_endpoint_val
=
part_info
->
no_list_values
;
part_iter
->
get_next
=
get_next_partition_id_list
;
part_iter
->
get_next
=
get_next_partition_id_list
;
part_iter
->
part_info
=
part_info
;
part_iter
->
part_info
=
part_info
;
part_iter
->
ret_null_part
=
part_iter
->
ret_null_part_orig
=
FALSE
;
if
(
max_endpoint_val
==
0
)
if
(
max_endpoint_val
==
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