remove double-counting

rnd_pos_by_record calls ha_rnd_pos, which does the counting
This commit is contained in:
Sergei Golubchik 2018-06-28 11:59:25 +02:00
parent bf4244d1a0
commit 3d4beee1a9

View File

@ -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;
}