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
fa3cee64
Commit
fa3cee64
authored
Apr 15, 2011
by
Mattias Jonsson
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
1386f1fb
ec9611cf
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
mysql-test/collections/default.experimental
mysql-test/collections/default.experimental
+1
-1
sql/ha_partition.cc
sql/ha_partition.cc
+9
-1
No files found.
mysql-test/collections/default.experimental
View file @
fa3cee64
...
@@ -22,7 +22,7 @@ main.outfile_loaddata @solaris # joro : Bug #46895
...
@@ -22,7 +22,7 @@ main.outfile_loaddata @solaris # joro : Bug #46895
ndb.* # joro : NDB tests marked as experimental as agreed with bochklin
ndb.* # joro : NDB tests marked as experimental as agreed with bochklin
rpl.rpl_innodb_bug28430 @solaris # Bug#46029
rpl.rpl_innodb_bug28430 @solaris # Bug#46029
rpl.rpl_row_sp011 @solaris # Joro : Bug #
54138
rpl.rpl_row_sp011 @solaris # Joro : Bug #
45445
rpl_ndb.* # joro : NDB tests marked as experimental as agreed with bochklin
rpl_ndb.* # joro : NDB tests marked as experimental as agreed with bochklin
rpl_ndb.rpl_ndb_log # Bug#38998
rpl_ndb.rpl_ndb_log # Bug#38998
...
...
sql/ha_partition.cc
View file @
fa3cee64
...
@@ -4317,6 +4317,7 @@ int ha_partition::index_read_idx_map(uchar *buf, uint index,
...
@@ -4317,6 +4317,7 @@ int ha_partition::index_read_idx_map(uchar *buf, uint index,
break
;
break
;
}
}
}
}
if
(
part
<=
m_part_spec
.
end_part
)
m_last_part
=
part
;
m_last_part
=
part
;
}
}
else
else
...
@@ -6237,7 +6238,14 @@ void ha_partition::print_error(int error, myf errflag)
...
@@ -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 */
/* In case m_file has not been initialized, like in bug#42438 */
if
(
m_file
)
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
);
m_file
[
m_last_part
]
->
print_error
(
error
,
errflag
);
}
else
else
handler
::
print_error
(
error
,
errflag
);
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