Commit 082d3b0c authored by osku's avatar osku

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

parent df717615
...@@ -4131,6 +4131,9 @@ ha_innobase::index_prev( ...@@ -4131,6 +4131,9 @@ ha_innobase::index_prev(
mysql_byte* buf) /* in/out: buffer for previous row in MySQL mysql_byte* buf) /* in/out: buffer for previous row in MySQL
format */ format */
{ {
statistic_increment(current_thd->status_var.ha_read_prev_count,
&LOCK_status);
return(general_fetch(buf, ROW_SEL_PREV, 0)); return(general_fetch(buf, ROW_SEL_PREV, 0));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment