~mordred/drizzle/fix-bell-bugs

« back to all changes in this revision

Viewing changes to plugin/myisam/mi_cache.cc

Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
  if (!(flag & READING_HEADER) || (int) read_length == -1 ||
99
99
      read_length+in_buff_length < 3)
100
100
  {
101
 
    if (!my_errno || my_errno == -1)
102
 
      my_errno=HA_ERR_WRONG_IN_RECORD;
 
101
    if (!errno || errno == -1)
 
102
      errno=HA_ERR_WRONG_IN_RECORD;
103
103
    return(1);
104
104
  }
105
105
  memset(buff+read_length, 0,