Commit 810ceefd authored by msvensson@neptunus.(none)'s avatar msvensson@neptunus.(none)

Merge neptunus.(none):/home/msvensson/mysql/mysql-5.1

into  neptunus.(none):/home/msvensson/mysql/bug15020/my51-bug15020
parents 57c432b9 a5de6fbd
......@@ -1734,7 +1734,8 @@ void open_table_error(TABLE_SHARE *share, int error, int db_errno, int errarg)
else
{
strxmov(buff, share->normalized_path.str, reg_ext, NullS);
my_error(ER_FILE_NOT_FOUND, errortype, buff, db_errno);
my_error((db_errno == EMFILE) ? ER_CANT_OPEN_FILE : ER_FILE_NOT_FOUND,
errortype, buff, db_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