mirror of
https://github.com/MariaDB/server.git
synced 2025-01-24 15:54:37 +01:00
Increment statistic counter in ha_innobase::index_prev(). Fixes bug #19542.
This commit is contained in:
parent
b17f2879fe
commit
3801001142
1 changed files with 3 additions and 0 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue