Commit ac015116 authored by unknown's avatar unknown

Bug#15020 "Can't find files" message incorrect for error 24


sql/table.cc:
  Use error message "Can't open file" if errno EMFILE is returned.
parent ba079bad
......@@ -1164,7 +1164,8 @@ static void frm_error(int error, TABLE *form, const char *name,
my_error(ER_NO_SUCH_TABLE, MYF(0), db, real_name);
}
else
my_error(ER_FILE_NOT_FOUND, errortype,
my_error((my_errno == EMFILE) ? ER_CANT_OPEN_FILE : ER_FILE_NOT_FOUND,
errortype,
fn_format(buff, name, form_dev, reg_ext, 0), my_errno);
break;
case 2:
......
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