1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

ha_archive.cc:

Post-merge fix.


storage/archive/ha_archive.cc:
  Post-merge fix.
This commit is contained in:
unknown
2007-10-28 02:33:18 +05:00
parent 639e35d031
commit 38aa6e15c4

View File

@@ -1241,7 +1241,7 @@ int ha_archive::rnd_pos(uchar * buf, uchar *pos)
DBUG_ENTER("ha_archive::rnd_pos");
ha_statistic_increment(&SSV::ha_read_rnd_next_count);
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(get_row(&archive, buf));
}