summaryrefslogtreecommitdiff
path: root/sql/ha_partition.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2018-06-26 17:34:44 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2018-06-26 17:34:44 +0300
commitc6392d52ee2e918a65b05c275286ff4d450eef2c (patch)
tree1a5f9623ff08bfca9eacb83e21502563e656e932 /sql/ha_partition.cc
parentc4eb4bcef648eb2ebdc6edc06905f39f95ef7f6b (diff)
parentcc8772f33e8f94844e32f3aa79e5f41d784f8ec0 (diff)
downloadmariadb-git-c6392d52ee2e918a65b05c275286ff4d450eef2c.tar.gz
Merge 10.0 into 10.1
Diffstat (limited to 'sql/ha_partition.cc')
-rw-r--r--sql/ha_partition.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/ha_partition.cc b/sql/ha_partition.cc
index 34c253cc48a..7444d61b3fc 100644
--- a/sql/ha_partition.cc
+++ b/sql/ha_partition.cc
@@ -5071,7 +5071,8 @@ int ha_partition::rnd_pos_by_record(uchar *record)
if (unlikely(get_part_for_delete(record, m_rec0, m_part_info, &m_last_part)))
DBUG_RETURN(1);
- DBUG_RETURN(handler::rnd_pos_by_record(record));
+ int err= m_file[m_last_part]->rnd_pos_by_record(record);
+ DBUG_RETURN(err);
}