Increment statistic counter in ha_innobase::index_prev(). Fixes bug #19542.

This commit is contained in:
osku 2006-05-09 06:37:11 +00:00
parent b17f2879fe
commit 3801001142

View file

@ -4131,6 +4131,9 @@ ha_innobase::index_prev(
mysql_byte* buf) /* in/out: buffer for previous row in MySQL
format */
{
statistic_increment(current_thd->status_var.ha_read_prev_count,
&LOCK_status);
return(general_fetch(buf, ROW_SEL_PREV, 0));
}