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
b4a59e01
Commit
b4a59e01
authored
Apr 12, 2011
by
karen.langford@oracle.com
Committed by
Karen Langford
Apr 12, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#11867664: Fix server crashes on update with join on partitioned table.
parent
397df0ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
sql/ha_partition.cc
sql/ha_partition.cc
+9
-1
No files found.
sql/ha_partition.cc
View file @
b4a59e01
...
...
@@ -4317,7 +4317,8 @@ int ha_partition::index_read_idx_map(uchar *buf, uint index,
break
;
}
}
m_last_part
=
part
;
if
(
part
<=
m_part_spec
.
end_part
)
m_last_part
=
part
;
}
else
{
...
...
@@ -6237,7 +6238,14 @@ void ha_partition::print_error(int error, myf errflag)
{
/* In case m_file has not been initialized, like in bug#42438 */
if
(
m_file
)
{
if
(
m_last_part
>=
m_tot_parts
)
{
DBUG_ASSERT
(
0
);
m_last_part
=
0
;
}
m_file
[
m_last_part
]
->
print_error
(
error
,
errflag
);
}
else
handler
::
print_error
(
error
,
errflag
);
}
...
...
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