diff options
author | Mattias Jonsson <mattias.jonsson@oracle.com> | 2011-01-24 13:41:44 +0100 |
---|---|---|
committer | Mattias Jonsson <mattias.jonsson@oracle.com> | 2011-01-24 13:41:44 +0100 |
commit | e24398ee42c05f6e0589d2c27cb2ab4593b74ad4 (patch) | |
tree | 650a6f2ff8811bc275b9b6fd16c5305094a102ae /sql | |
parent | 49b7a1f48d4e263e572df825ab89004893963f87 (diff) | |
download | mariadb-git-e24398ee42c05f6e0589d2c27cb2ab4593b74ad4.tar.gz |
Bug#59297: Can't find record in 'tablename' on update inner join
Regression introduced in bug#52455. Problem was that the
fixed function did not set the last used partition variable, resulting
in wrong partition used when storing the position of the newly
retrieved row.
Fixed by setting the last used partition in ha_partition::index_read_idx_map.
Diffstat (limited to 'sql')
-rw-r--r-- | sql/ha_partition.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/ha_partition.cc b/sql/ha_partition.cc index 7bcbd241541..f55c48189fe 100644 --- a/sql/ha_partition.cc +++ b/sql/ha_partition.cc @@ -4317,6 +4317,7 @@ int ha_partition::index_read_idx_map(uchar *buf, uint index, break; } } + m_last_part= part; } else { |