summaryrefslogtreecommitdiff
path: root/sql/ha_partition.cc
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2012-01-13 14:35:49 +0200
committerMichael Widenius <monty@askmonty.org>2012-01-13 14:35:49 +0200
commit5438d57315a3cb2b75f63f83de7e50d12645e421 (patch)
treea4c79aabda6f2dea97ae1d246ac4af79c4b4655a /sql/ha_partition.cc
parent296b450d3b58ded0fd4d4972161414c6cc7a80e5 (diff)
downloadmariadb-git-5438d57315a3cb2b75f63f83de7e50d12645e421.tar.gz
Added Handler_read_rnd_deleted, number of deleted rows found with ha_read_rnd_first.
Diffstat (limited to 'sql/ha_partition.cc')
-rw-r--r--sql/ha_partition.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/ha_partition.cc b/sql/ha_partition.cc
index 290224850c7..03a879815e8 100644
--- a/sql/ha_partition.cc
+++ b/sql/ha_partition.cc
@@ -3938,6 +3938,8 @@ int ha_partition::rnd_next(uchar *buf)
int result= HA_ERR_END_OF_FILE;
uint part_id= m_part_spec.start_part;
DBUG_ENTER("ha_partition::rnd_next");
+
+ /* upper level will increment this once again at end of call */
decrement_statistics(&SSV::ha_read_rnd_next_count);
if (NO_CURRENT_PART_ID == part_id)