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
2dd60990
Commit
2dd60990
authored
Jun 14, 2006
by
mikael@c-0409e253.1238-1-64736c10.cust.bredbandsbolaget.se
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG#16002: Unsigned partition function support
After review fix
parent
d4c8576e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
sql/sql_partition.cc
sql/sql_partition.cc
+4
-4
No files found.
sql/sql_partition.cc
View file @
2dd60990
...
@@ -2532,10 +2532,10 @@ int get_partition_id_range(partition_info *part_info,
...
@@ -2532,10 +2532,10 @@ int get_partition_id_range(partition_info *part_info,
if
(
loc_part_id
!=
max_partition
)
if
(
loc_part_id
!=
max_partition
)
loc_part_id
++
;
loc_part_id
++
;
*
part_id
=
(
uint32
)
loc_part_id
;
*
part_id
=
(
uint32
)
loc_part_id
;
if
(
loc_part_id
==
max_partition
)
if
(
loc_part_id
==
max_partition
&&
if
(
range_array
[
loc_part_id
]
!=
LONGLONG_MAX
)
range_array
[
loc_part_id
]
!=
LONGLONG_MAX
&&
if
(
part_func_value
>=
range_array
[
loc_part_id
])
part_func_value
>=
range_array
[
loc_part_id
])
DBUG_RETURN
(
HA_ERR_NO_PARTITION_FOUND
);
DBUG_RETURN
(
HA_ERR_NO_PARTITION_FOUND
);
DBUG_RETURN
(
0
);
DBUG_RETURN
(
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