Fix for bug#18598 ndb_partition_list

This commit is contained in:
unknown 2006-03-29 23:48:35 +02:00
commit fa24633f6b
2 changed files with 1 additions and 2 deletions

View file

@ -3399,7 +3399,7 @@ int ha_ndbcluster::rnd_pos(byte *buf, byte *pos)
*/
DBUG_DUMP("key+part", (char *)pos, key_length);
key_length= ref_length - sizeof(m_part_id);
part_spec.start_part= part_spec.end_part= *(pos + key_length);
part_spec.start_part= part_spec.end_part= *(uint32 *)(pos + key_length);
}
else
{