From 9595317cfa1d7f557dc6d3b3a4718985eb2d2758 Mon Sep 17 00:00:00 2001 From: "aivanov@mysql.com" <> Date: Mon, 15 May 2006 17:25:37 +0400 Subject: Applied innodb-4.1-ss29 snapshot. Fix BUG#19542 "InnoDB doesn't increase the Handler_read_prev counter. --- sql/ha_innodb.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sql') 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)); } -- cgit v1.2.1