summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authoraivanov@mysql.com <>2006-05-15 17:25:37 +0400
committeraivanov@mysql.com <>2006-05-15 17:25:37 +0400
commit9595317cfa1d7f557dc6d3b3a4718985eb2d2758 (patch)
treef54674fcbbf1ecf0aa64967e4671fd5034e0f767 /sql
parentf1fb5b9f343d09987e02fef8bf0bb6be0ae67444 (diff)
downloadmariadb-git-9595317cfa1d7f557dc6d3b3a4718985eb2d2758.tar.gz
Applied innodb-4.1-ss29 snapshot.
Fix BUG#19542 "InnoDB doesn't increase the Handler_read_prev counter.
Diffstat (limited to 'sql')
-rw-r--r--sql/ha_innodb.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/ha_innodb.cc b/sql/ha_innodb.cc
index 8455bbaf4d0..6c93ac293d0 100644
--- a/sql/ha_innodb.cc
+++ b/sql/ha_innodb.cc
@@ -3431,6 +3431,8 @@ ha_innobase::index_prev(
mysql_byte* buf) /* in/out: buffer for previous row in MySQL
format */
{
+ statistic_increment(ha_read_prev_count, &LOCK_status);
+
return(general_fetch(buf, ROW_SEL_PREV, 0));
}