Commit 38aa6e15 authored by unknown's avatar unknown

ha_archive.cc:

  Post-merge fix.


storage/archive/ha_archive.cc:
  Post-merge fix.
parent 639e35d0
...@@ -1241,7 +1241,7 @@ int ha_archive::rnd_pos(uchar * buf, uchar *pos) ...@@ -1241,7 +1241,7 @@ int ha_archive::rnd_pos(uchar * buf, uchar *pos)
DBUG_ENTER("ha_archive::rnd_pos"); DBUG_ENTER("ha_archive::rnd_pos");
ha_statistic_increment(&SSV::ha_read_rnd_next_count); ha_statistic_increment(&SSV::ha_read_rnd_next_count);
current_position= (my_off_t)my_get_ptr(pos, ref_length); current_position= (my_off_t)my_get_ptr(pos, ref_length);
if (azseek(&archive, current_position, SEEK_SET) < 0) if (azseek(&archive, current_position, SEEK_SET) == (my_off_t)(-1L))
DBUG_RETURN(HA_ERR_CRASHED_ON_USAGE); DBUG_RETURN(HA_ERR_CRASHED_ON_USAGE);
DBUG_RETURN(get_row(&archive, buf)); DBUG_RETURN(get_row(&archive, buf));
} }
......
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