mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
ha_archive.cc:
Post-merge fix. storage/archive/ha_archive.cc: Post-merge fix.
This commit is contained in:
parent
639e35d031
commit
38aa6e15c4
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue