Commit 11228b61 authored by unknown's avatar unknown
Browse files

Merge mysql.com:/home/svoj/devel/mysql/BUG24401/mysql-5.0-engines

into  mysql.com:/home/svoj/devel/mysql/BUG24401/mysql-5.1-engines


storage/myisam/mi_open.c:
  Auto merged
parents ea042b93 2244a361
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -459,6 +459,13 @@ MI_INFO *mi_open(const char *name, int mode, uint open_flags)
      offset+=share->rec[i].length;
    }
    share->rec[i].type=(int) FIELD_LAST;	/* End marker */
    if (offset > share->base.reclength)
    {
      /* purecov: begin inspected */
      my_errno= HA_ERR_CRASHED;
      goto err;
      /* purecov: end */
    }

    if (! lock_error)
    {