Skip to content
Permalink
Browse files
remove double-counting
rnd_pos_by_record calls ha_rnd_pos, which does the counting
  • Loading branch information
vuvova committed Jun 28, 2018
1 parent bf4244d commit 3d4beee
Showing 1 changed file with 0 additions and 2 deletions.
@@ -5012,8 +5012,6 @@ inline int handler::ha_ft_read(uchar *buf)
inline int handler::ha_rnd_pos_by_record(uchar *buf)
{
int error= rnd_pos_by_record(buf);
if (!error)
update_rows_read();
table->status=error ? STATUS_NOT_FOUND: 0;
return error;
}

0 comments on commit 3d4beee

Please sign in to comment.