Commit 3d4beee1 authored by Sergei Golubchik's avatar Sergei Golubchik

remove double-counting

rnd_pos_by_record calls ha_rnd_pos, which does the counting
parent bf4244d1
...@@ -5012,8 +5012,6 @@ inline int handler::ha_ft_read(uchar *buf) ...@@ -5012,8 +5012,6 @@ inline int handler::ha_ft_read(uchar *buf)
inline int handler::ha_rnd_pos_by_record(uchar *buf) inline int handler::ha_rnd_pos_by_record(uchar *buf)
{ {
int error= rnd_pos_by_record(buf); int error= rnd_pos_by_record(buf);
if (!error)
update_rows_read();
table->status=error ? STATUS_NOT_FOUND: 0; table->status=error ? STATUS_NOT_FOUND: 0;
return error; return error;
} }
......
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