Below is the list of changes that have just been committed into a local
6.0 repository of mattiasj. When mattiasj does a push these changes
will be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet@stripped, 2008-05-09 07:38:29+02:00, mattiasj@witty. +1 -0
Bug#34604: hander::ha_rnd_end(): Assertion inited==RND failed
In some cases error was not properly propagated through
ha_partition::rnd_next.
Will now return the error code from the partitions rnd_next and
update m_part_spec.start_part and m_last_part properly.
This makes the inited state to be correct.
sql/ha_partition.cc@stripped, 2008-05-09 07:38:27+02:00, mattiasj@witty. +2 -0
Bug#34604: hander::ha_rnd_end(): Assertion inited==RND failed
In some cases error was not properly propagated through
ha_partition::rnd_next.
Will now return the error code from the partitions rnd_next and
update m_part_spec.start_part and m_last_part properly.
diff -Nrup a/sql/ha_partition.cc b/sql/ha_partition.cc
--- a/sql/ha_partition.cc 2008-05-08 15:01:29 +02:00
+++ b/sql/ha_partition.cc 2008-05-09 07:38:27 +02:00
@@ -3324,6 +3324,8 @@ int ha_partition::rnd_next(uchar *buf)
result= HA_ERR_END_OF_FILE;
break;
}
+ m_last_part= part_id;
+ m_part_spec.start_part= part_id;
file= m_file[part_id];
DBUG_PRINT("info", ("rnd_init on partition %d", part_id));
if ((result= file->ha_rnd_init(1)))
| Thread |
|---|
| • bk commit into 6.0 tree (mattiasj:1.2656) BUG#34604 | mattiasj | 9 May |