summaryrefslogtreecommitdiff
path: root/sql/ha_partition.cc
diff options
context:
space:
mode:
authorMattias Jonsson <mattias.jonsson@sun.com>2010-01-19 17:02:51 +0100
committerMattias Jonsson <mattias.jonsson@sun.com>2010-01-19 17:02:51 +0100
commit4839c42619304989a44dc8f57a800f311ae93bb4 (patch)
tree2603f6ee4ab1fbe3f617122285c15d6e217742e7 /sql/ha_partition.cc
parentd2f61748cd0a63d0c9df989d92cb36fc1c7583c5 (diff)
downloadmariadb-git-4839c42619304989a44dc8f57a800f311ae93bb4.tar.gz
post-push patch for bug#47343.
Missing ha_rnd_end in copy_partitions, found due to a DBUG_ASSERT in mysql-pe sql/ha_partition.cc: Post-push patch for bug#47343 Must call ha_rnd_end since ha_rnd_init has been called.
Diffstat (limited to 'sql/ha_partition.cc')
-rw-r--r--sql/ha_partition.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/ha_partition.cc b/sql/ha_partition.cc
index 555a0b97ddd..7b9ecd7d902 100644
--- a/sql/ha_partition.cc
+++ b/sql/ha_partition.cc
@@ -1705,6 +1705,7 @@ int ha_partition::copy_partitions(ulonglong * const copied,
}
DBUG_RETURN(FALSE);
error:
+ m_reorged_file[reorg_part]->ha_rnd_end();
DBUG_RETURN(result);
}